HEX
Server: Apache
System: Linux scp1.abinfocom.com 5.4.0-216-generic #236-Ubuntu SMP Fri Apr 11 19:53:21 UTC 2025 x86_64
User: confeduphaar (1010)
PHP: 8.1.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/lib/python3/dist-packages/keyring/util/__pycache__/platform_.cpython-38.pyc
U

ܦ�\��@s�ddlmZddlZddlZdd�Zdd�Zdd�Zd	d
�ZeZdd�Z	d
d�Z
e��de�
�e�Ze��de�
�e
�ZdS)�)�absolute_importNcCstj�tjdd�S)NZUSERPROFILEzLocal Settings)�os�path�join�environ�rr�8/usr/lib/python3/dist-packages/keyring/util/platform_.py�_settings_root_XPsr	cCstj�dtj�dd��S)NZLOCALAPPDATAZProgramData�.)rr�getrrrr�_settings_root_VistasrcCs2t��\}}}}|dkrt�nt�}tj�|d�S)NZXPzPython Keyring)�platformZ	win32_verr	rrrr)�release�versionZcsdZptype�rootrrr�_data_root_WindowssrcCs,tj�d�}tj�dd�p|}tj�|d�S)zV
    Use freedesktop.org Base Dir Specfication to determine storage
    location.
    �~/.local/shareZ
XDG_DATA_HOMEN�python_keyring)rr�
expanduserrrr)�fallbackrrrr�_data_root_LinuxsrcCs`dd�t�d<tj�t�d�}tj�t�d�}tj�|�r\tj�|�s\d}t|jft	����dS)a
    Prior versions of keyring would search for the config
    in XDG_DATA_HOME, but should probably have been
    searching for config in XDG_CONFIG_HOME. If the
    config exists in the former but not in the latter,
    raise a RuntimeError to force the change.
    cSsdS)Nrrrrr�<lambda>+�z(_check_old_config_root.<locals>.<lambda>�_check_old_config_rootz
keyringrc.cfgz�Keyring config exists only in the old location {config_file_old} and should be moved to {config_file_new} to work with this version of keyring.N)
�globalsrrr�_config_root_Linuxr�isfile�RuntimeError�format�locals)Zconfig_file_newZconfig_file_old�msgrrrr"s	rcCs6t�tj�d�}d}tj�|d�p&|}tj�|d�S)zU
    Use freedesktop.org Base Dir Specfication to determine config
    location.
    rZXDG_CONFIG_HOMENr)rrrrrrr)r�keyrrrrr5s
rZ_data_root_Z_config_root)Z
__future__rrr
r	rrrZ_config_root_Windowsrrrr�systemZ	data_rootZconfig_rootrrrr�<module>s


�