ok
Direktori : /proc/thread-self/root/usr/lib64/python2.7/Tools/scripts/ |
Current File : //proc/thread-self/root/usr/lib64/python2.7/Tools/scripts/findlinksto.pyc |
� �fc @ s\ d d l Z d d l Z d d l Z d d l Z d � Z d � Z e d k rX e � n d S( i����Nc C s� yJ t j t j d d � \ } } t | � d k rI t j d d � � n Wn9 t j k r� } t j t _ | GHd GHt j d � n X| d | d } } t j | � } x$ | D] } t j j | t | � q� Wd S( Ni t i s not enough argumentss( usage: findlinksto pattern directory ...i ( t getoptt syst argvt lent GetoptErrort Nonet stderrt stdoutt exitt ret compilet ost patht walkt visit( t optst argst msgt patt dirst progt dirname( ( s1 /usr/lib64/python2.7/Tools/scripts/findlinksto.pyt main s c C s� t j j | � r g | (d St j j | � r; d G| GHn xr | D]j } t j j | | � } y8 t j | � } | j | � d k r� | Gd G| GHn WqB t j k r� qB XqB Wd S( Ns descend intos ->( R R t islinkt ismountt joint readlinkt searchR t error( R R t namest namet linkto( ( s1 /usr/lib64/python2.7/Tools/scripts/findlinksto.pyR s t __main__( R R R R R R t __name__( ( ( s1 /usr/lib64/python2.7/Tools/scripts/findlinksto.pyt <module> s