403Webshell
Server IP : 138.197.176.125  /  Your IP : 216.73.217.55
Web Server : Apache/2.4.41 (Ubuntu)
System : Linux SuiteCRM-8 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User : root ( 0)
PHP Version : 8.3.19
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/uaclient/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/uaclient/__pycache__/update_contract_info.cpython-38.pyc
U

x��h2�@slddlZddlmZmZmZmZmZddlmZddl	m
Z
ddlmZe�
e�e��Zd
ed�dd	�ZdS)�N)�
exceptions�lock�messages�system�util)�detach)�_is_attached)�UAConfigF)�cfgcCs�t�d�t|�jsdSt��j}zt�|�}Wntj	k
rFYn^Xt�|�}|j
|j
kr�t�d||�t��t
�tjj|j|jd�}|r�t|�t�|�dS)NzValidating release serieszDDetaching due to current series %s being higher than only_series: %s)�release�series_codename)�LOG�debugrZis_attachedrZget_release_infoZseriesZget_distro_inforZMissingSeriesInDistroInfoFileZeolrZclear_lock_file_if_presentrrZPRO_ONLY_ALLOWED_FOR_RELEASE�formatrr�printZwarning)r
Zonly_seriesZshow_messageZcurrent_seriesZallowed_releaseZcurrent_release�message�r�?/usr/lib/python3/dist-packages/uaclient/update_contract_info.py�validate_release_seriess0



��r)F)ZloggingZuaclientrrrrrZuaclient.api.u.pro.detach.v1rZ(uaclient.api.u.pro.status.is_attached.v1rZuaclient.configr	Z	getLoggerZreplace_top_level_logger_name�__name__r
rrrrr�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit