%PDF- %PDF-
Direktori : /usr/lib/python3/dist-packages/__pycache__/ |
Current File : //usr/lib/python3/dist-packages/__pycache__/distro_info.cpython-312.pyc |
� �>e9 � � � d Z ddlZddlZddlZddlZdedej fd�Zdefd�Z G d� de � Z G d � d � Zdeeef dedej ej fd �Z G d� d� Z G d� de� Z G d� de� Zy)z>provides information about Ubuntu's and Debian's distributions� N�string�returnc � � | j d� D �cg c] }t |� �� }}t |� dk( r|\ }}}t j |||� S t |� dk( rQ|\ }}|dk( rt j ||d� S t j ||dz d� t j d� z S t d� �c c}w )z9Convert a date string in ISO 8601 into a datetime object.�-� � � � � zDate not in ISO 8601 format.)�split�int�len�datetime�date� timedelta� ValueError)r �x�parts�year�month�days �-/usr/lib/python3/dist-packages/distro_info.py�convert_dater s� � �#�\�\�#�.�/��S��V�/�E�/� �5�z�Q��"���u�c��}�}�T�5�#�.�.� �5�z�Q��� ��u��B�;��=�=��u�b�1�1��}�}�T�5�1�9�a�0�8�3E�3E�a�3H�H�H� �3� 4�4�� 0s �B=c � � y)z4Get the data directory based on the module location.z/usr/share/distro-info� r � r � _get_data_dirr % s � �#r c �$ � � e Zd ZdZd� fd�Z� xZS )�DistroDataOutdatedzDistribution data outdated.c �$ �� t �| � d� y )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__s �r r# zDistroDataOutdated.__init__- s �� � ��� M� r �r N)�__name__� __module__�__qualname__�__doc__r# � __classcell__�r&