AlkantarClanX12

Your IP : 18.117.188.105


Current Path : /usr/lib64/python2.7/Tools/scripts/
Upload File :
Current File : //usr/lib64/python2.7/Tools/scripts/findlinksto.pyc

�
�fc@s\ddlZddlZddlZddlZd�Zd�ZedkrXe�ndS(i����NcCs�yJtjtjdd�\}}t|�dkrItjdd��nWn9tjk
r�}tjt_|GHdGHtjd�nX|d|d}}t	j
|�}x$|D]}tjj
|t|�q�WdS(Nitisnot enough argumentss(usage: findlinksto pattern directory ...i(tgetopttsystargvtlentGetoptErrortNonetstderrtstdouttexittretcompiletostpathtwalktvisit(toptstargstmsgtpattdirstprogtdirname((s1/usr/lib64/python2.7/Tools/scripts/findlinksto.pytmains
cCs�tjj|�rg|(dStjj|�r;dG|GHnxr|D]j}tjj||�}y8tj|�}|j|�dk	r�|GdG|GHnWqBtjk
r�qBXqBWdS(Nsdescend intos->(	RR
tislinktismounttjointreadlinktsearchRterror(RRtnamestnametlinkto((s1/usr/lib64/python2.7/Tools/scripts/findlinksto.pyRs
t__main__(RRR
RRRt__name__(((s1/usr/lib64/python2.7/Tools/scripts/findlinksto.pyt<module>s