HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/softwareproperties/__pycache__/CountryInformation.cpython-310.pyc
o

U�7e��@s0ddlZddlZddlmZGdd�de�ZdS)�N)�ElementTreec@seZdZdd�Zdd�ZdS)�CountryInformationc
Cs�i|_d}tj�|�rCt|d�}|�d�}|D]+}d|jvr$|jd}n|jd}d|jvr4|jd}n|jd}t�d|�|j|<qd|_	d|_
tjd	d
d�}|�d�}|�d
�}	|	dkrbt
|�}	||d|	�|_
|�|j
�|_	dS)Nz%/usr/share/xml/iso-codes/iso_3166.xml)�file�iso_3166_entry�common_name�name�alpha_2_code�alpha_3_code�iso_3166�LANGzen.UK)�default�_�.����)�	countries�os�path�existsr�iter�attrib�gettext�dgettext�country�code�getenv�find�len�get_country_name)
�self�fname�et�it�elm�descrr�locale�a�z�r(�G/usr/lib/python3/dist-packages/softwareproperties/CountryInformation.py�__init__s,







zCountryInformation.__init__cCs||jvr|j|}|S|S)N)r)rrrr(r(r)r7s

z#CountryInformation.get_country_nameN)�__name__�
__module__�__qualname__r*rr(r(r(r)rsr)rr�xml.etree.ElementTreer�objectrr(r(r(r)�<module>s