Server IP : 23.254.227.96 / Your IP : 216.73.216.7 Web Server : Apache/2.4.62 (Unix) OpenSSL/1.1.1k System : Linux hwsrv-1277026.hostwindsdns.com 4.18.0-477.13.1.el8_8.x86_64 #1 SMP Tue May 30 14:53:41 EDT 2023 x86_64 User : viralblo ( 1001) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.6/site-packages/cloudinit/reporting/__pycache__/ |
Upload File : |
3 ��b� � @ sJ d Z ddlmZ ddlmZ dddiiZdd � Zd d� Ze� Zee� dS ) z� cloud-init reporting framework The reporting framework is intended to allow all parts of cloud-init to report events in a structured manner. � )�DictRegistry� )�available_handlersZlogging�type�logc C sf x`| j � D ]T\}}|s&tj|dd� q |j� }tj|jd� }tj|� |f |�}tj||� q W dS )z�Update the instantiated_handler_registry. :param config: The dictionary containing changes to apply. If a key is given with a False-ish value, the registered handler matching that name will be unregistered. T)�forcer N)�items�instantiated_handler_registryZunregister_item�copyr �registered_items�popZ register_item)�configZhandler_nameZhandler_config�cls�instance� r �/usr/lib/python3.6/__init__.py�update_configuration s r c C s. x(t jj� D ]\} }t|d�r|j� qW d S )N�flush)r r r �hasattrr )�_Zhandlerr r r �flush_events) s r N) �__doc__�registryr Zhandlersr ZDEFAULT_CONFIGr r r r r r r �<module> s