HEX
Server: nginx/1.24.0
System: Linux localhost 5.15.0-46-generic #49-Ubuntu SMP Thu Aug 4 18:03:25 UTC 2022 x86_64
User: www (1000)
PHP: 8.3.27
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: //proc/self/root/lib/python3/dist-packages/cloudinit/__pycache__/registry.cpython-310.pyc
o

쑛h��@sddlZGdd�d�ZdS)�Nc@s>eZdZdZdd�Zdd�Zdd�Zdd	d
�Zedd��Z	d
S)�DictRegistryz+A simple registry for a mapping of objects.cCs|��dS�N)�reset��self�r�4/usr/lib/python3/dist-packages/cloudinit/registry.py�__init__szDictRegistry.__init__cCs
i|_dSr)�_itemsrrrrrs
zDictRegistry.resetcCs&||jvrtd�|���||j|<dS)zAdd item to the registry.z$Item already registered with key {0}N)r
�
ValueError�format)r�key�itemrrr�
register_items

�zDictRegistry.register_itemTcCs*||jvr|j|=dS|std|��dS)zRemove item from the registry.z!%s: key not present to unregisterN)r
�KeyError)rr
�forcerrr�unregister_items

�zDictRegistry.unregister_itemcCst�|j�S)zvAll the items that have been registered.

        This cannot be used to modify the contents of the registry.
        )�copyr
rrrr�registered_items szDictRegistry.registered_itemsN)T)
�__name__�
__module__�__qualname__�__doc__r	rrr�propertyrrrrrrs
r)rrrrrr�<module>s