ok
Direktori : /proc/thread-self/root/lib/python2.7/site-packages/tuned/storage/ |
Current File : //proc/thread-self/root/lib/python2.7/site-packages/tuned/storage/pickle_provider.pyo |
� ��\c @ so d d l m Z d d l Z d d l Z d d l Z d d l j Z e j j � Z d e j f d � � YZ d S( i ( t interfacesi����Nt PickleProviderc B sY e Z d d g Z d d � Z d � Z d d � Z d � Z d � Z d � Z d � Z RS( t _patht _datac C s. | d k r t j } n | | _ i | _ d S( N( t Nonet constst DEFAULT_STORAGE_FILER R ( t selft path( ( sA /usr/lib/python2.7/site-packages/tuned/storage/pickle_provider.pyt __init__ s c C s( | j j | i � | | j | | <d S( N( R t setdefault( R t namespacet optiont value( ( sA /usr/lib/python2.7/site-packages/tuned/storage/pickle_provider.pyt set s c C s* | j j | i � | j | j | | � S( N( R R t get( R R R t default( ( sA /usr/lib/python2.7/site-packages/tuned/storage/pickle_provider.pyR s c C s; | j j | i � | | j | k r7 | j | | =n d S( N( R R ( R R R ( ( sA /usr/lib/python2.7/site-packages/tuned/storage/pickle_provider.pyt unset s c C s� yL t j d t | j � � t | j d � � } t j | j | � Wd QXWn3 t t f k r� } t j d | j | f � n Xd S( Ns Saving %st wbs"