403Webshell
Server IP : 209.205.66.10  /  Your IP : 216.73.216.173
Web Server : Apache/2.4.52 (Ubuntu)
System : Linux ammon 5.15.0-186-generic #196-Ubuntu SMP Sat Jun 20 16:09:34 UTC 2026 x86_64
User :  ( 1006)
PHP Version : 8.5.8
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  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-310.pyc
o

�K�i2�@slddlZddlmZmZmZmZmZddlmZddl	m
Z
ddlmZe�
e�e��Zd
defdd	�ZdS)�N)�
exceptions�lock�messages�system�util)�detach)�_is_attached)�UAConfigF�cfgcCs�t�d�t|�jsdSt��j}zt�|�}Wntj	y#YdSwt�|�}|j
|j
krTt�d||�t��t
�tjj|j|jd�}|rMt|�t�|�dSdS)NzValidating release serieszDDetaching due to current series %s being higher than only_series: %s)�release�series_codename)�LOG�debugr�is_attachedr�get_release_info�series�get_distro_infor�MissingSeriesInDistroInfoFile�eolr�clear_lock_file_if_presentrr�PRO_ONLY_ALLOWED_FOR_RELEASE�formatrr�print�warning)r
�only_series�show_message�current_series�allowed_release�current_release�message�r �?/usr/lib/python3/dist-packages/uaclient/update_contract_info.py�validate_release_seriess4


�
���r")F)�logging�uaclientrrrrr�uaclient.api.u.pro.detach.v1r�(uaclient.api.u.pro.status.is_attached.v1r�uaclient.configr	�	getLogger�replace_top_level_logger_name�__name__r
r"r r r r!�<module>s

Youez - 2016 - github.com/yon3zu
LinuXploit