403Webshell
Server IP : 178.105.222.151  /  Your IP : 216.73.216.38
Web Server : nginx/1.28.3
System : Linux MNK 7.0.0-15-generic #15-Ubuntu SMP PREEMPT_DYNAMIC Wed Apr 22 16:06:43 UTC 2026 x86_64
User : www-data ( 33)
PHP Version : 8.5.4
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/persistence.cpython-314.pyc
+
��i
���!RR4tR#)c�Ra�]tRt^toRt^tRtV3RlRltV3RlRltRt	Vt
R#)	�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 overridden, 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.)
c�j�VPP4p\V4PVR&V#)a$Persist 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�states& �7/usr/lib/python3/dist-packages/cloudinit/persistence.py�__getstate__�!CloudInitPickleMixin.__getstate__s0���
�
�"�"�$��#'��:�#=�#=��� ���c�$<�V^8�dQhRS[RR/#)�r
�returnN)�dict)�format�
__classdict__s"�r�__annotate__�!CloudInitPickleMixin.__annotate__'s��� � �$� �4� rc��VPR^4pVPPV4VPV4R#)a�Restore 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.
rN)�popr�update�	_unpickle)r	r
�versions&& r�__setstate__�!CloudInitPickleMixin.__setstate__'s3���)�)�-�q�1���
�
���U�#����w�rc�$<�V^8�dQhRS[RR/#)r�ci_pkl_versionrN)�int)rrs"�rrr8s��������rc��R#)aPerform 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.
N�)r	rs&&rr�CloudInitPickleMixin._unpickle8s�rr"N)�__name__�
__module__�__qualname__�__firstlineno__�__doc__rrrr�__static_attributes__�__classdictcell__)rs@rrrs*����
��O�� � �"�rrN)rr"rr�<module>r+s��8�8r

Youez - 2016 - github.com/yon3zu
LinuXploit