| Server IP : 35.236.43.222 / Your IP : 216.73.216.143 Web Server : Apache System : Linux order-form-vm-001 5.10.0-37-cloud-amd64 #1 SMP Debian 5.10.247-1 (2025-12-11) x86_64 User : deploy ( 1002) PHP Version : 8.1.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/__pycache__/ |
Upload File : |
a
�T>e�0 � @ s� d Z ddlZddlZddlZdd� Zdd� ZG dd� de�ZG d d
� d
e�Z dd� Z
G d
d� de�ZG dd� de�ZG dd� de�Z
dS )z>provides information about Ubuntu's and Debian's distributions� Nc C s� | s
d}n�dd� | � d�D �}t|�dkrD|\}}}t�|||�}nRt|�dkr�|\}}|dkrpt�||d�}q�t�||d d �t�d � }ntd
��|S )z9Convert a date string in ISO 8601 into a datetime object.Nc S s g | ]}t |��qS � )�int��.0�xr r �-/usr/lib/python3/dist-packages/distro_info.py�
<listcomp> � z convert_date.<locals>.<listcomp>�-� � � � � zDate not in ISO 8601 format.)�split�len�datetime�dateZ timedelta�
ValueError)�stringr �partsZyearZmonthZdayr r r �convert_date s
r c C s dS )z4Get the data directory based on the module location.z/usr/share/distro-infor r r r r �
_get_data_dir* s r c s e Zd ZdZ� fdd�Z� ZS )�DistroDataOutdatedzDistribution data outdated.c s t � �d� d S )Nz�Distribution data outdated. Please check for an update for distro-info-data. See /usr/share/doc/distro-info-data/README.Debian for details.��super�__init__��self�� __class__r r r 2 s �zDistroDataOutdated.__init__)�__name__�
__module__�__qualname__�__doc__r �
__classcell__r r r r r / s r c @ s"