%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib/python3/dist-packages/cloudinit/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib/python3/dist-packages/cloudinit/__pycache__/registry.cpython-312.pyc

�

���f��� �ddlZGd�d�Zy)�Nc�:�eZdZdZd�Zd�Zd�Zdd�Zed��Z	y)	�DictRegistryz+A simple registry for a mapping of objects.c�$�|j�y�N)�reset��selfs �4/usr/lib/python3/dist-packages/cloudinit/registry.py�__init__zDictRegistry.__init__s���
�
��c��i|_yr)�_itemsrs r
rzDictRegistry.resets	����rc�r�||jvrtdj|���||j|<y)zAdd item to the registry.z$Item already registered with key {0}N)r�
ValueError�format)r	�key�items   r
�
register_itemzDictRegistry.register_items9���$�+�+���6�=�=�c�B��
� ����C�rc�\�||jvr|j|=y|std|z��y)zRemove item from the registry.z!%s: key not present to unregisterN)r�KeyError)r	r�forces   r
�unregister_itemzDictRegistry.unregister_items3���$�+�+�����C� ���>��D�E�E�rc�@�tj|j�S)zvAll the items that have been registered.

        This cannot be used to modify the contents of the registry.
        )�copyrrs r
�registered_itemszDictRegistry.registered_items s���y�y����%�%rN)T)
�__name__�
__module__�__qualname__�__doc__rrrr�propertyr�rr
rrs.��5��� �F��&��&rr)rrr!rr
�<module>r"s��
�&�&r

Zerion Mini Shell 1.0