%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /lib/python3/dist-packages/samba/__pycache__/
Upload File :
Create Path :
Current File : //lib/python3/dist-packages/samba/__pycache__/common.cpython-312.pyc

�

�I�d<��$�d�Zdd�Zd�Zd�Zd�Zy)c��||kD||kz
S)z�
    Replacement for built-in function cmp that was removed in Python 3

    Compare the two objects x and y and return an integer according to
    the outcome. The return value is negative if x < y, zero if x == y
    and strictly positive if x > y.
    �)�x�ys  �./usr/lib/python3/dist-packages/samba/common.py�cmprs��
��E�a�!�e���c���|rtd|z�ydddddd�}d}|rd|d<d|d<d}	t|d	|zz�}|j�}||vr||Std
|z��9)z|confirm an action with the user

    :param msg: A string to print to the user
    :param forced: Are the answer forced
    z%s [YES]TF)�Y�YES��N�NOz[y/N]�ALL�NONEz[y/N/all/none]z %s zUnknown response '%s')�print�input�upper)�msg�forced�	allow_all�mapping�prompt�vs      r�confirmr!s����
�j�3�������
���G��F������ ����!��
��#����'�(��
�G�G�I����<��1�:��
�%��)�*�rc�~�t|�dzr%t|�dkDrtt|�dz
�St|�S)z)normalise a ldap integer to signed 32 bitl�l)�int�str)�ivalues r�normalise_int32r Bs6��
�6�{�Z��C��K�!�O��3�v�;��,�-�-��v�;�rc��|}t|t�r|jd�}|St|t�st	dt|��d|����|S�N�utf8zExpected bytes or string for �:)�
isinstancer�encode�bytes�
ValueError�type��
bytesorstring�tmps  r�	get_bytesr-WsO��
�C��-��%��"�"�6�*���J��
�u�
-���m�AT�Vc�d�e�e��Jrc��|}t|t�r|jd�}|St|t�st	dt|��d|����|Sr")r%r'�decoderr(r)r*s  r�
get_stringr0esO��
�C��-��'��"�"�6�*���J��
�s�
+���m�AT�Vc�d�e�e��JrN)FF)rrr r-r0rrr�<module>r1s��*	�+�B�*�r

Zerion Mini Shell 1.0