+
    4Ssi=                     (    R  t RR ltR tR tR tR# )c                    W8  W8  ,
          # )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cmpr      s     Eae    c           
        V'       d   \        RV ,          4       R# RRRRRRRRRR/pR	pV'       d   R
VR
&   RVR&   Rp \        V RV,          ,           4      pVP                  4       pWS9   d	   W5,          # \        RV,          4       KL  )zpconfirm an action with the user

:param msg: A string to print to the user
:param forced: Are the answer forced
z%s [YES]TYYES FNNOz[y/N]ALLNONEz[y/N/all/none]z %s zUnknown response '%s')printinputupper)msgforced	allow_allmappingpromptvs   &&&   r   confirmr   !   s     j3 	Tt
EUeG F !
#'(GGI<:%)*r   c                    \        V 4      R,          '       d,   \        V 4      ^ 8  d   \        \        V 4      R,
          4      # \        V 4      # )z)normalise a ldap integer to signed 32 bitl        l        )intstr)ivalues   &r   normalise_int32r   B   s9    
6{ZCK!O3v;,--v;r   c                     T p\        V \        4      '       d   V P                  R 4      pV# \        V \        4      '       g   \	        R\        V 4      : RV : 24      hV# utf8zExpected bytes or string for :)
isinstancer   encodebytes
ValueErrortypebytesorstringtmps   & r   	get_bytesr,   O   sU    
C-%%""6* J u--mATVcdeeJr   c                     T p\        V \        4      '       d   V P                  R 4      pV# \        V \        4      '       g   \	        R\        V 4      : RV : 24      hV# r!   )r$   r&   decoder   r'   r(   r)   s   & r   
get_stringr/   Z   sU    
C-''""6* J s++mATVcdeeJr   N)FF)r   r   r   r,   r/   r   r   r   <module>r0      s   *	+Br   