/usr/lib/python3.6/site-packages/cloudinit/__pycache__
NameSizeModeActions
apport.cpython-36.opt-1.pyc60600644editdlrm
apport.cpython-36.pyc61050644editdlrm
atomic_helper.cpython-36.opt-1.pyc21020644editdlrm
atomic_helper.cpython-36.pyc21020644editdlrm
cloud.cpython-36.opt-1.pyc31550644editdlrm
cloud.cpython-36.pyc31550644editdlrm
dmi.cpython-36.opt-1.pyc54460644editdlrm
dmi.cpython-36.pyc54460644editdlrm
event.cpython-36.opt-1.pyc20160644editdlrm
event.cpython-36.pyc20160644editdlrm
features.cpython-36.opt-1.pyc15080644editdlrm
features.cpython-36.pyc15080644editdlrm
gpg.cpython-36.opt-1.pyc38520644editdlrm
gpg.cpython-36.pyc38520644editdlrm
helpers.cpython-36.opt-1.pyc136270644editdlrm
helpers.cpython-36.pyc136270644editdlrm
importer.cpython-36.opt-1.pyc17220644editdlrm
importer.cpython-36.pyc17220644editdlrm
log.cpython-36.opt-1.pyc47180644editdlrm
log.cpython-36.pyc47180644editdlrm
netinfo.cpython-36.opt-1.pyc129720644editdlrm
netinfo.cpython-36.pyc129720644editdlrm
persistence.cpython-36.opt-1.pyc28830644editdlrm
persistence.cpython-36.pyc28830644editdlrm
registry.cpython-36.opt-1.pyc14180644editdlrm
registry.cpython-36.pyc14180644editdlrm
safeyaml.cpython-36.opt-1.pyc81880644editdlrm
safeyaml.cpython-36.pyc81880644editdlrm
settings.cpython-36.opt-1.pyc11680644editdlrm
settings.cpython-36.pyc11680644editdlrm
signal_handler.cpython-36.opt-1.pyc16180644editdlrm
signal_handler.cpython-36.pyc16180644editdlrm
simpletable.cpython-36.opt-1.pyc25900644editdlrm
simpletable.cpython-36.pyc25900644editdlrm
ssh_util.cpython-36.opt-1.pyc157280644editdlrm
ssh_util.cpython-36.pyc157280644editdlrm
stages.cpython-36.opt-1.pyc257490644editdlrm
stages.cpython-36.pyc257490644editdlrm
subp.cpython-36.opt-1.pyc102070644editdlrm
subp.cpython-36.pyc102070644editdlrm
templater.cpython-36.opt-1.pyc46600644editdlrm
templater.cpython-36.pyc46600644editdlrm
temp_utils.cpython-36.opt-1.pyc28800644editdlrm
temp_utils.cpython-36.pyc28800644editdlrm
type_utils.cpython-36.opt-1.pyc4370644editdlrm
type_utils.cpython-36.pyc4370644editdlrm
url_helper.cpython-36.opt-1.pyc215390644editdlrm
url_helper.cpython-36.pyc215390644editdlrm
user_data.cpython-36.opt-1.pyc84460644editdlrm
user_data.cpython-36.pyc84460644editdlrm
util.cpython-36.opt-1.pyc754120644editdlrm
util.cpython-36.pyc754120644editdlrm
version.cpython-36.opt-1.pyc4300644editdlrm
version.cpython-36.pyc4300644editdlrm
warnings.cpython-36.opt-1.pyc33290644editdlrm
warnings.cpython-36.pyc33290644editdlrm
__init__.cpython-36.opt-1.pyc1130644editdlrm
__init__.cpython-36.pyc1130644editdlrm
Edit: /usr/lib/python3.6/site-packages/cloudinit/__pycache__/persistence.cpython-36.pyc (2883B)
3 \¼me ã@sGdd„dƒZdS)c@s<eZdZdZdZdd„Zeddœdd„Zedd œd d „Z dS) ÚCloudInitPickleMixinaÀScaffolding for versioning of pickles. This class implements ``__getstate__`` and ``__setstate__`` to provide lightweight versioning of the pickles that are generated for classes which use it. Versioning is done at the class level. The current version of a class's pickle should be set in the class variable ``_ci_pkl_version``, as an int. If not overriden, it will default to 0. On unpickle, the object's state will be restored and then ``self._unpickle`` is called with the version of the stored pickle as the only argument: this is where classes should implement any deserialization fixes they require. (If the stored pickle has no version, 0 is passed.) écCs|jjƒ}t|ƒj|d<|S)aLPersist instance state, adding a pickle version attribute. This adds a ``_ci_pkl_version`` attribute to ``self.__dict__`` and returns that for serialisation. The attribute is stripped out in ``__setstate__`` on unpickle. The value of ``_ci_pkl_version`` is ``type(self)._ci_pkl_version``. Ú_ci_pkl_version)Ú__dict__ÚcopyÚtyper)ÚselfÚstate©r ú!/usr/lib/python3.6/persistence.pyÚ __getstate__s z!CloudInitPickleMixin.__getstate__N)rÚreturncCs&|jddƒ}|jj|ƒ|j|ƒdS)aERestore instance state and handle missing attributes on upgrade. This will be called when an instance of this class is unpickled; the previous instance's ``__dict__`` is passed as ``state``. This method removes the pickle version from the stored state, restores the remaining state into the current instance, and then calls ``self._unpickle`` with the version (or 0, if no version is found in the stored state). See https://docs.python.org/3/library/pickle.html#object.__setstate__ for further background. rrN)ÚpoprÚupdateÚ _unpickle)rrÚversionr r r Ú __setstate__'s  z!CloudInitPickleMixin.__setstate__)Úci_pkl_versionr cCsdS)a>Perform any deserialization fixes required. By default, this does nothing. Classes using this mixin should override this method if they have fixes they need to apply. ``ci_pkl_version`` will be the version stored in the pickle for this object, or 0 if no version is present. Nr )rrr r r r8szCloudInitPickleMixin._unpickle) Ú__name__Ú __module__Ú __qualname__Ú__doc__rr ÚdictrÚintrr r r r rs  rN)rr r r r Ús