+
    i                     "    ^ RI t  ! R R4      tR# )    Nc                   P   a  ] tR t^t o RtR tR tR tR	R lt]	R 4       t
RtV tR# )
DictRegistryz+A simple registry for a mapping of objects.c                &    V P                  4        R # N)resetselfs   &4/usr/lib/python3/dist-packages/cloudinit/registry.py__init__DictRegistry.__init__   s    

    c                    / V n         R # r   _itemsr   s   &r
   r   DictRegistry.reset   s	    r   c                v    WP                   9   d   \        RP                  V4      4      hW P                   V&   R# )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                x    WP                   9   d   V P                   V R# V'       g   \        RV,          4      hR# )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    \         P                   ! V P                  4      # )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     yy%%r   r   N)T)__name__
__module____qualname____firstlineno____doc__r   r   r   r   propertyr    __static_attributes____classdictcell__)__classdict__s   @r
   r   r      s1     5 F & &r   r   )r   r    r   r
   <module>r,      s   
 & &r   