Sh3ll
OdayForums


Server : Apache
System : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
User : nobody ( 99)
PHP Version : 8.1.23
Disable Function : NONE
Directory :  /lib64/python2.7/Tools/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //lib64/python2.7/Tools/scripts/pdeps.pyc
�
[��dc@s�ddlZddlZddlZd�Zejd�Zejd�Zd�Zd�Zd�Z	d�Z
d	�Zed
kr�yej
e��Wq�ek
r�ej
d�q�XndS(i����NcCs�tjd}|sdGHdSi}x|D]}t||�q)WdGHt|�dGHt|�}t|�dGHt|�}t|�dGHt|�}t|�dS(	Nis usage: pdeps file.py file.py ...is--- Uses ---s--- Used By ---s--- Closure of Uses ---s--- Closure of Used By ---i(tsystargvtprocesstprintresultstinversetclosure(targsttabletargtinvtreachtinvreach((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pytmains&





s^[ 	]*from[ 	]+([^ 	]+)[ 	]+s^[ 	]*import[ 	]+([^#]+)c
Csgt|d�}tjj|�}|ddkr>|d }ng||<}x|j�}|sePnx8|ddkr�|j�}|s�Pn|d |}qhWtj|�dkr�tjd \\}}\}	}
n:tj|�dkrOtjd \\}}\}	}
nqO||	|
!j	d�}x6|D].}|j
�}||kr.|j|�q.q.WqOdS(	Ntri����s.pyi����s\iit,(topentostpathtbasenametreadlinetm_importtmatchtregstm_fromtsplittstriptappend(
tfilenameRtfptmodtlisttlinetnextlinetatbta1tb1twordstword((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyRBs0
""
cCs�|j�}i}x|D]}||||<qWd}x�|r�d}xq|D]i}x`||D]T}||kr_x?||D]0}|||kr|||j|�d}q|q|Wq_q_WqNWq;W|S(Nii(tkeysR(RtmodulesR
Rtchangetmotm((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyR^s
	
cCsbi}xU|j�D]G}|j|�s5g||<nx"||D]}t|||�q@WqW|S(N(R'thas_keytstore(RR	tkeytitem((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyR{s
cCs4|j|�r#||j|�n
|g||<dS(N(R,R(tdictR.R/((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyR-�scCs�|j�}d}x#|D]}t|t|��}qW|j�x\|D]T}||}|j�|j|�GdG||kr�dGnx|D]
}|Gq�WHqIWdS(Nit:s(*)(R'tmaxtlentsorttljust(RR(tmaxlenRRtref((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyR�s





t__main__i(RtreRRtcompileRRRRRR-Rt__name__texittKeyboardInterrupt(((s+/usr/lib64/python2.7/Tools/scripts/pdeps.pyt<module>s							


ZeroDay Forums Mini