HEX
Server: Apache
System: Linux host.dominioscaracas.com 4.18.0-477.15.1.lve.2.el8.x86_64 #1 SMP Wed Aug 2 10:43:45 UTC 2023 x86_64
User: enciassa (1159)
PHP: 8.1.31
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //lib64/python2.7/site-packages/lxml/html/_diffcommand.pyo
�
�'�Yc@@sddlmZddlZddlZddlZddlZddlmZdZej	ddde�Z
e
jd	d
ddd
ddddd�e
jddddd
ddd�dd�Z
d�ZejdejejB�ZejdejejB�Zd�Zd�ZdS(i(tabsolute_importNi(thtmldiffttusagesR%prog [OPTIONS] FILE1 FILE2
%prog --annotate [OPTIONS] INFO1 FILE1 INFO2 FILE2 ...tdescriptions-os--outputtmetavartFILEtdesttoutputtdefaultt-thelpsFile to write the difference tos-as--annotationtactiont
store_truet
annotationsDo an annotationcC@sI|dkrtjd}ntj|�\}}|jrGt||�St|�dkrxdGHtj�tj	d�n|\}}t
|�}t
|�}t|�d}t|�\}}}	t||�}
||
|	}
|j
dkr|
jd�s	|
d7}
ntjj|
�n)t|j
d�}|j|
�|j�dS(NiisError: you must give two filesR
s
twb(tNonetsystargvtparsert
parse_argsRtannotatetlent
print_helptexitt	read_filet
split_bodyRRtendswithtstdouttwritetopentclose(targstoptionstfile1tfile2tinput1tinput2tbody1tpretbody2tposttresulttf((s</usr/lib64/python2.7/site-packages/lxml/html/_diffcommand.pytmain s.	



cC@sl|dkrtjj�}nJtjj|�sCtd|��n%t|d�}|j�}|j�|S(NR
sInput file %s does not existtrb(	RtstdintreadtostpathtexiststOSErrorRR(tfilenametcR+((s</usr/lib64/python2.7/site-packages/lxml/html/_diffcommand.pyR:s
s	<body.*?>s
</body.*?>cC@s�d}}tj|�}|rB||j� }||j�}ntj|�}|rz||j�}||j� }n|||fS(NR(t
body_start_retsearchtendtbody_end_retstart(thtmlR'R)tmatch((s</usr/lib64/python2.7/site-packages/lxml/html/_diffcommand.pyRKs
cC@sdGHtjd�dS(NsNot yet implementedi(RR(R!R ((s</usr/lib64/python2.7/site-packages/lxml/html/_diffcommand.pyRWs(t
__future__RtoptparseRtreR0tdiffRRtOptionParserRt
add_optionRR,RtcompiletItSR6R9RR(((s</usr/lib64/python2.7/site-packages/lxml/html/_diffcommand.pyt<module>s8