ok

Mini Shell

Direktori : /lib64/python2.7/Tools/scripts/
Upload File :
Current File : //lib64/python2.7/Tools/scripts/mkreal.pyo

�
iцdc@soddlZddlZddlTejjZdZd
Zd�Zd�Zd�Z	e
d	krke	�ndS(i����N(t*smkreal errori icCs�tj|�}t|t�}tj|�}t|d�}tj|�t|d�}x)|jt�}|suPn|j	|�q\~tj
||�dS(Ntrtw(toststattS_IMODEtST_MODEtreadlinktopentunlinktreadtBUFSIZEtwritetchmod(tnametsttmodetlinktotf_intf_outtbuf((s,/usr/lib64/python2.7/Tools/scripts/mkreal.pyt
mkrealfiles
cCs�tj|�}t|t�}tj|�}tj|�}tj|�tj||�tj||�t	tj
|�}xK|D]C}|tjtj
fkr�tjt	||�t	||��q�q�WdS(N(
RRRRRtlistdirR	tmkdirR
tjointpardirtcurdirtsymlink(RRRRtfilestfilename((s,/usr/lib64/python2.7/Tools/scripts/mkreal.pyt	mkrealdirs

cCs�tjt_tjjtjd�}|dkr:d}ntjd}|sjdG|GdGHtjd�nd}xg|D]_}tjj|�s�|dG|dGd	GHd}qwtjj	|�r�t
|�qwt|�qwWtj|�dS(
Nis-ctmkrealisusage:spath ...it:s
not a symlink(tsyststderrtstdoutRtpathtbasenametargvtexittislinktisdirRR(tprognametargststatusR((s,/usr/lib64/python2.7/Tools/scripts/mkreal.pytmain-s"	


	
t__main__i�(R!RRR$RterrorRRRR-t__name__(((s,/usr/lib64/python2.7/Tools/scripts/mkreal.pyt<module>s
			

Zerion Mini Shell 1.0