Spamworldpro Mini Shell
Spamworldpro


Server : Apache/2.4.52 (Ubuntu)
System : Linux webserver 6.8.0-49-generic #49~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Nov 6 17:42:15 UTC 2 x86_64
User : www-data ( 33)
PHP Version : 8.1.2-1ubuntu2.21
Disable Function : NONE
Directory :  /lib/python3/dist-packages/apt/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib/python3/dist-packages/apt/__pycache__/utils.cpython-310.pyc
o

4��f�
�@sXddlmZddlZddlZddlmZmZddlZddlZdd�Z	dd�Z
dd	�ZdS)
�)�print_functionN)�Optional�TuplecCsR|d}|d}|j||j|d}|j|d}|dkr%d}|d8}||fS)z�
    get the (year, month) tuple when the maintenance for the distribution
    ends. Needs the data of the release and the number of months that
    its is supported as input
    �r�)�year�month)�release_date�m_months�years�months�support_end_year�support_end_month�r�+/usr/lib/python3/dist-packages/apt/utils.py�get_maintenance_end_dates�rcCs�|rtj�|�s
dSt�t�|���'}t�|�}t|�}d|vr)	Wd�dS|d}t�|�Wd�S1s<wYdS)zF
    return the release date as time_t for the given release file
    N�Date)	�os�path�exists�fdopen�apt_pkg�open_maybe_clear_signed_file�TagFile�next�str_to_time)r�data�tag�section�daterrr�"get_release_date_from_release_file2s
�$�r cCs||vrdS||}d}|jjD]%}|dus|jdurq|jD]\}}|j|kr4|j|kr4|j|kr4|}qq|s:dS|j�|jdd�}	|jjD]=}
|
j	D]7}|	r�|	j
|j
kr�|	jr�tj
�d�}dD]!}
t�|
j�d|
j|
f}tj�||�r�||SqcqNqIdS)z- get the release file that provides this pkg NrzDir::State::lists)�	InRelease�Releasezdists_%s_%s)�_pkg�version_list�	file_list�origin�label�archive�_list�
find_index�list�index_files�describe�
is_trustedr�config�find_dir�uri_to_filename�uri�distrrr)�cache�pkgnamer'�release�pkg�ver�aver�ver_file�_index�	indexfile�	metaindex�m�dirname�relfile�namerrr�get_release_filename_for_pkgCsD


��
�
����
rB)�
__future__r�datetimer�typingrr�aptrrr rBrrrr�<module>s

Spamworldpro Mini