HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/landscape/lib/__pycache__/lsb_release.cpython-310.pyc
o

y)�]}�@s"dZdZddddd�Zdd�Zd	S)
z&Get information from /etc/lsb_release.z/etc/lsb-releasezdistributor-id�description�releasez	code-name)�
DISTRIB_ID�DISTRIB_DESCRIPTION�DISTRIB_RELEASE�DISTRIB_CODENAMEcCsjt|d�}i}z(|D]}|�d�\}}|tvr(t|��}|���d�}|||<q
W|��|S|��w)z�Return a C{dict} holding information about the system LSB release.

    @raises: An IOError exception if C{lsb_release_filename} could not be read.
    �r�=�")�open�split�LSB_RELEASE_INFO_KEYS�strip�close)�lsb_release_filename�fd�info�line�key�value�r�;/usr/lib/python3/dist-packages/landscape/lib/lsb_release.py�parse_lsb_release
s
��
�rN)�__doc__�LSB_RELEASE_FILENAMErrrrrr�<module>s�