ok

Mini Shell

Direktori : /lib64/python2.7/Demo/scripts/
Upload File :
Current File : //lib64/python2.7/Demo/scripts/update.pyc

�
Afc@soddlZddlZddlZdZeje�Zddd��YZd�Zedkrke�ndS(i����Ns^([^: 	
]+):([1-9][0-9]*):tFileObjcBs#eZd�Zd�Zd�ZRS(cCsk||_d|_yt|d�j�|_Wn*tk
rZ}d|G|GHd|_dSXdG|jGHdS(Nitrs*** Can't open "%s":tdiffing(tfilenametchangedtopent	readlinestlinestIOErrortNone(tselfRtmsg((s+/usr/lib64/python2.7/Demo/scripts/update.pyt__init__s		
	cCs�|jsdG|jGHdSy0tj|j|jd�t|jd�}Wn-tjtfk
rx}d|jG|GHdSXdG|jGHx|jD]}|j|�q�W|j	�d|_dS(Ns
no changes tot~tws*** Can't rewrite "%s":twritingi(
RRtostrenameRterrorRRtwritetclose(R
tfpRtline((s+/usr/lib64/python2.7/Demo/scripts/update.pytfinishs	
cCs�|jdkr'd|j||fGdSt|�d}d|koWt|j�knstd|j||fGdS|j||kr�d|j||fGdS|js�d|_nd||fGHdG|j|GdGH||j|<d	G|j|GdS(
Ns(not processed): %s:%s:%siis&*** Line number out of range: %s:%s:%ss(no change): %s:%s:%ss%sc%st<s---t>(RR	RtevaltlenR(R
tlinenotrestti((s+/usr/lib64/python2.7/Demo/scripts/update.pytprocess,s(%	
(t__name__t
__module__RRR(((s+/usr/lib64/python2.7/Demo/scripts/update.pyRs		cCs1tjdrayttjdd�}Wqjtk
r]}dtjdG|GHtjd�qjXn	tj}d}x�|j�}|s�|r�|j�nPnt	j
|�}|dkr�dG|Gqsnt	jdd�\}}|s�||jkr|r|j�nt
|�}n|j|||�qsWdS(NiRsCan't open "%s":isFunny line:i(tsystargvRRtexittstdinR	treadlineRtprogtmatchtgroupRRR(RRtcurfileRtnRR((s+/usr/lib64/python2.7/Demo/scripts/update.pytmainBs0
	

t__main__((	RR"tretpattcompileR'RR,R (((s+/usr/lib64/python2.7/Demo/scripts/update.pyt<module>	s2	

Zerion Mini Shell 1.0