AlkantarClanX12

Your IP : 3.142.131.51


Current Path : /proc/thread-self/root/lib64/python2.7/Tools/scripts/
Upload File :
Current File : //proc/thread-self/root/lib64/python2.7/Tools/scripts/findlinksto.pyo

�
�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