https://t.me/RX1948
Server : LiteSpeed
System : Linux host 5.15.0-161-generic #171-Ubuntu SMP Sat Oct 11 08:17:01 UTC 2025 x86_64
User : idnco5810 ( 1093)
PHP Version : 8.2.29
Disable Function : NONE
Directory :  /usr/lib/python3/dist-packages/landscape/lib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

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

AGh,�@s0dZddlZdZdZddddd	�Zdd
d�ZdS)
z Get information from os-release.�Nz/etc/os-releasez/usr/lib/os-releasezdistributor-id�description�releasez	code-name)�NAME�PRETTY_NAME�
VERSION_ID�VERSION_CODENAMEcCs�i}|durt}tj�|�rt�|tj�st}t|��*}|D]}|�d�\}}|t	vr<t	|�
�}|�
��
d�}|||<qWd�|S1sHwY|S)ad
    Returns a C{dict} holding information about the system LSB release
    by attempting to parse C{os_release_filename} if specified. If no
    filename is provided /etc/os-release will be used or
    /usr/lib/os-release as a fallback as indicated in os-release
    at Freedesktop.org

    @raises: A FileNotFoundError if C{filename} does not exist.
    N�=�")�OS_RELEASE_FILENAME�os�path�exists�access�R_OK�OS_RELEASE_FILENAME_FALLBACK�open�split�OS_RELEASE_FILE_KEYS�strip)�os_release_filename�info�fd�line�key�value�r�:/usr/lib/python3/dist-packages/landscape/lib/os_release.py�parse_os_releases*
�
��
�	�	r)N)�__doc__rr
rrrrrrr�<module>s�

https://t.me/RX1948 - 2025