ó
    x[hþ  ã                   ó    • S SK r  " S S5      rg)é    Nc                   óD   • \ rS rSrSrS rS rS rS
S jr\	S 5       r
Srg	)ÚDictRegistryé   z+A simple registry for a mapping of objects.c                 ó$   • U R                  5         g ©N)Úreset©Úselfs    Ú4/usr/lib/python3/dist-packages/cloudinit/registry.pyÚ__init__ÚDictRegistry.__init__   s   € Ø�
‰
�ó    c                 ó   • 0 U l         g r   ©Ú_itemsr	   s    r   r   ÚDictRegistry.reset   s	   € Øˆ�r   c                 ór   • XR                   ;   a  [        SR                  U5      5      eX R                   U'   g)zAdd item to the registry.z$Item already registered with key {0}N)r   Ú
ValueErrorÚformat)r
   ÚkeyÚitems      r   Úregister_itemÚDictRegistry.register_item   s5   € à—+‘+ÓÜØ6×=Ñ=¸cÓBóð ð  �‰�CÒr   c                 óh   • XR                   ;   a  U R                   U	 gU(       d  [        SU-  5      eg)zRemove item from the registry.z!%s: key not present to unregisterN)r   ÚKeyError)r
   r   Úforces      r   Úunregister_itemÚDictRegistry.unregister_item   s1   € à—+‘+ÓØ—‘˜CÑ ÞÜÐ>ÀÑDÓEÐEð r   c                 óB   • [         R                   " U R                  5      $ )zfAll the items that have been registered.

This cannot be used to modify the contents of the registry.
)Úcopyr   r	   s    r   Úregistered_itemsÚDictRegistry.registered_items    s   € ô �yŠy˜Ÿ™Ó%Ð%r   r   N)T)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r   r   Úpropertyr!   Ú__static_attributes__© r   r   r   r      s.   † Ù5òòò ôFð ñ&ó ó&r   r   )r    r   r*   r   r   Ú<module>r+      s   ðó
 ÷&ò &r   