ok
Direktori : /proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/clcommon/ |
Current File : //proc/self/root/proc/self/root/usr/lib/python2.7/site-packages/clcommon/clpwd.pyc |
� b=0Yc @ s/ d d l Z d d l Z d d d � � YZ d S( i����Nt ClPwdc B s� e Z d e f d � � YZ d d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d � Z d d � Z RS( t NoSuchUserExceptionc B s e Z d � Z RS( c C s t j | d | f � d S( Ns No such user (%s)( t Exceptiont __init__( t selft user( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyR s ( t __name__t __module__R ( ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyR s c C sR i | _ i | _ i | _ i | _ | d k rE | j d � | _ n | | _ d S( Ni� ( t _user_key_mapt _uid_key_mapt _user_full_mapt _uid_full_mapt Nonet get_sys_min_uidt _min_uid( R t min_uid( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyR s c C s | j � | j S( N( t _load_passwd_databaseR ( R ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_user_dict s c C s | j � | j S( N( R R ( R ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_uid_dict s c C s | j � | j S( N( R R ( R ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_user_full_dict s c C s | j � | j S( N( R R ( R ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_uid_full_dict s c C s9 y | j � | SWn t k r4 t j | � � n Xd S( s* Return pw_entry for user N( R t KeyErrorR R ( R R ( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_pw_by_name# s c C s9 y | j � | SWn t k r4 t j | � � n Xd S( s7 Return list of passwd entries for uid N( R R R R ( R t uid( ( s2 /usr/lib/python2.7/site-packages/clcommon/clpwd.pyt get_pw_by_uid, s c C s<