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੐)|#o0aڱ$I>}k&1`U#V?YsV x>{t1[I~D&(I$I/{H0fw"q"y%4 IXyE~M3 8XψL}qE$I[> nD?~sf ]o΁ cT6"?'_Ἣ $I>~.f|'!N?⟩0G KkXZE]ޡ;/&?k OۘH$IRۀwXӨ<7@PnS04aӶp.:@\IWQJ6sS%I$e5ڑv`3:x';wq_vpgHyXZ 3gЂ7{{EuԹn±}$I$8t;b|591nءQ"P6O5i }iR̈́%Q̄p!I䮢]O{H$IRϻ9s֧ a=`- aB\X0"+5"C1Hb?߮3x3&gşggl_hZ^,`5?ߎvĸ%̀M!OZC2#0x LJ0 Gw$I$I}<{Eb+y;iI,`ܚF:5ܛA8-O-|8K7s|#Z8a&><a&/VtbtLʌI$I$I$I$I$I$IRjDD%tEXtdate:create2022-05-31T04:40:26+00:00!Î%tEXtdate:modify2022-05-31T04:40:26+00:00|{2IENDB` sh-3ll

HOME


sh-3ll 1.0
DIR:/proc/thread-self/root/opt/alt/python27/lib64/python2.7/
Upload File :
Current File : //proc/thread-self/root/opt/alt/python27/lib64/python2.7/zipfile.pyo
�
�Ю]c	@s[dZddlZddlZddlZddlZddlZddlZddlZddlZddl	Z	ddl
Z
ddlZyddlZej
Z
Wn ek
r�eZej
Z
nXddddddd	d
dg	Zdefd��YZdefd
��YZeZdd>dZdd>dZdd>dZdZdZdZdZeje�ZdZdZdZ dZ!dZ"dZ#dZ$dZ%dZ&dZ'dZ(dZ)eje(�Z*dZ+dZ,dZ-dZ.dZ/dZ0dZ1dZ2dZ3dZ4dZ5dZ6d Z7d!Z8d"Z9d#Z:dZ;d$Z<d%Z=d&Z>d'Z?eje>�Z@dZAdZBdZCdZDdZEdZFdZGdZHdZIdZJdZKdZLd(ZMd)ZNejeM�ZOd*ZPd+ZQejeP�ZRdZSdZTdZUdZVdZWdZXdZYdZZdZ[dZ\d,Z]ej^d-�Z_d.�Z`d/�Zad0�Zbd1�Zcd2�Zddeefd3��YZfd4fd5��YZgid6d6d7d6d8d6d8d6d8d6d8d6d9d6d:d6d;d6d<d6d9d6d=d 6d>d"6d?d%6d@dA6dBdC6dDdE6ZhdFe	jifdG��YZjd	eefdH��YZkd
ekfdI��YZledJ�ZmendKkrWem�ndS(Ls
Read and write ZIP files.
i����Nt
BadZipfileterrort
ZIP_STOREDtZIP_DEFLATEDt
is_zipfiletZipInfotZipFilet	PyZipFiletLargeZipFilecBseZRS((t__name__t
__module__(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRscBseZdZRS(su
    Raised when writing a zipfile, the zipfile requires ZIP64 extensions
    and those extensions are disabled.
    (R	R
t__doc__(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRsiiiiis<4s4H2LHsPKiiiiiii	s<4s4B4HL2L5H2LsPKi
iii
iiiis<4s2B4HL2L2HsPKs<4sLQLsPKs
<4sQ2H2L4QsPKiPKs<HHc
Cs�tj}t}g}d}}x�|dt|�kr�||||d!�\}}|d|}	||kr�||kr�|j|||!�n|	}t}n|	}q"W|s�|Sdj|�S(Niit(t_EXTRA_FIELD_STRUCTtunpacktFalsetlentappendtTruetjoin(
textratxidsRtmodifiedtbuffertstarttitxidtxlentj((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_strip_extra�s 	
	
cCs,yt|�rtSWntk
r'nXtS(N(t_EndRecDataRtIOErrorR(tfp((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_check_zipfile�s
cCsgt}yIt|d�r*td|�}n$t|d��}t|�}WdQXWntk
rbnX|S(s�Quickly see if a file is a ZIP file by checking the magic number.

    The filename argument may be a file or file-like object too.
    treadR trbN(RthasattrR!topenR(tfilenametresultR ((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�s
c
Csny|j|td�Wntk
r,|SX|jt�}t|�tkrR|Stjt|�\}}}}|tkr�|S|dks�|dkr�t	d��n|j|tt
d�|jt
�}t|�t
kr�|Stjt|�\
}}}	}
}}}
}}}|tkr$|S||t
<||t<||t<|
|t<||t<||t<||t<|S(sM
    Read the ZIP64 end-of-archive records and use that to update endrec
    iiis3zipfiles that span multiple disks are not supported(tseektsizeEndCentDir64LocatorRR"RtstructRtstructEndArchive64LocatortstringEndArchive64LocatorRtsizeEndCentDir64tstructEndArchive64tstringEndArchive64t_ECD_SIGNATUREt_ECD_DISK_NUMBERt_ECD_DISK_STARTt_ECD_ENTRIES_THIS_DISKt_ECD_ENTRIES_TOTALt	_ECD_SIZEt_ECD_OFFSET(tfpintoffsettendrectdatatsigtdisknotrelofftdiskstsztcreate_versiontread_versiontdisk_numtdisk_dirtdircountt	dircount2tdirsizet	diroffset((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt
_EndRecData64�s6
0






c	Cs�|jdd�|j�}y|jtd�Wntk
rEd	SX|j�}t|�tkr�|dd!tkr�|ddkr�tj	t
|�}t|�}|jd�|j|t�t
|t|�St|d
td�}|j|d�|j�}|jt�}|dkr�|||t!}t|�tkrId	Sttj	t
|��}|t}||t|t|!}|j|�|j||�t
|||||�Sd	S(s�Return data from the "End of Central Directory" record, or None.

    The data is a list of the nine items in the ZIP "End of central dir"
    record followed by a tenth item, the file seek offset of this record.iiii����sRiiNi(R(ttelltsizeEndCentDirRtNoneR"RtstringEndArchiveR*RtstructEndArchivetlistRRHtmaxtrfindt_ECD_COMMENT_SIZE(	R7tfilesizeR:R9tmaxCommentStartRtrecDatatcommentSizetcomment((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�s>



cBsJeZdZdZddd�Zdd�Zd�Zd�Zd�Z	RS( s>Class with attributes describing each file in the ZIP archive.t
orig_filenameR&t	date_timet
compress_typeRVRt
create_systemR@textract_versiontreservedt	flag_bitstvolumet
internal_attrt
external_attrt
header_offsettCRCt
compress_sizet	file_sizet	_raw_timetNoNamei�iicCs#||_|jtd��}|dkr:|d|!}ntjdkrptj|krp|jtjd�}n||_||_|ddkr�td��nt	|_
d|_d|_t
jdkr�d|_n	d|_d|_d|_d|_d|_d|_d|_d|_dS(	Nit/i�s+ZIP does not support timestamps before 1980Rtwin32ii(RWtfindtchrtostseptreplaceR&RXt
ValueErrorRRYRVRtsystplatformRZR@R[R\R]R^R_R`(tselfR&RXt	null_byte((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt__init__6s.													c
Cs�|j}|ddd>|dd>B|dB}|dd>|d	d>B|ddB}|jd
@rsd}}}n|j}|j}|j}|j}|dkr�|tkp�|tk}n|r�d}	|tj	|	dtj
|	�d	||�}n|tks|tkr_|s&td��nd
}d
}td|j
�|_
td|j
�|_n|j�\}
}tj	tt|j
|j||j|||||t|
�t|��
}||
|S(s'Return the per-file header as a string.ii�i	iiiiiiis<HHQQs'Filesize would require ZIP64 extensionsI����i-N(RXR]RbRcRdRRKtZIP64_LIMITR*tpacktcalcsizeRROR[R@t_encodeFilenameFlagststructFileHeadertstringFileHeaderR\RYR(
Rqtzip64tdttdosdatetdostimeRbRcRdRtfmtR&R]theader((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt
FileHeader`s:	&&
				#cCstt|jt�r`y|jjd�|jfSWqptk
r\|jjd�|jdBfSXn|j|jfSdS(Ntasciisutf-8i(t
isinstanceR&tunicodetencodeR]tUnicodeEncodeError(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRw�s
!cCs(|jd@r|jjd�S|jSdS(Nisutf-8(R]R&tdecode(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_decodeFilename�s
cCs�|j}tj}xjt|�dkr~|d|d �\}}|dkrm|dkrq|d|dd!�}no|dkr�|d|dd	!�}nJ|d
kr�|d|dd!�}n%|d
kr�d}ntd|f�d
}|jdkr|||_|d7}n|jdkr8|||_|d7}n|jdkrm|j}|||_|d7}qmn||d}qWdS(Nis<HHiis<QQQiis<QQiis<QiisCorrupt extra field %sl����l��((l����l��(RR*RRtRuntimeErrorRdRcRa(RqRRttptlntcountstidxtold((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_decodeExtra�s4			



	
(RWR&RXRYRVRRZR@R[R\R]R^R_R`RaRbRcRdRe(i�iiiiiN(
R	R
Rt	__slots__RsRKR�RwR�R�(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRs2*'			t
_ZipDecryptercBsDeZdZd�Ze�Zd�Zd�Zd�Zd�ZRS(sClass to handle decryption of files stored within a ZIP archive.

    ZIP supports a password-based form of encryption. Even though known
    plaintext attacks have been found against it, it is still useful
    to be able to get data out of such a file.

    Usage:
        zd = _ZipDecrypter(mypwd)
        plain_char = zd(cypher_char)
        plain_text = map(zd, cypher_text)
    cCs�d}dgd}xhtd�D]Z}|}xAtd�D]3}|d@r^|d?d@|A}q9|d?d@}q9W|||<q W|S(s�Generate a CRC-32 table.

        ZIP encryption uses the CRC32 one-byte primitive for scrambling some
        internal keys. We noticed that a direct implementation is faster than
        relying on binascii.crc32().
        I ���iiiii���(trange(tpolyttableRtcrcR((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_GenerateCRCTable�s

cCs%|d?d@|j|t|�Ad@AS(s(Compute the CRC32 primitive on one byte.ii���i�(tcrctabletord(RqtchR�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_crc32�scCs=d|_d|_d|_x|D]}|j|�q"WdS(NixV4i�gE#i�xV4(tkey0tkey1tkey2t_UpdateKeys(Rqtpwdtp((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRs�s
			
cCsx|j||j�|_|j|jd@d@|_|jddd@|_|jt|jd?d@�|j�|_dS(Ni�I����i�ii(R�R�R�RjR�(Rqtc((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR��scCsPt|�}|jdB}|||dAd?d@A}t|�}|j|�|S(sDecrypt a single character.iiii�(R�R�RjR�(RqR�tk((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt__call__�s

(	R	R
RR�R�R�RsR�R�(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR��s					tstoretshrinktreducetimplodettokenizetdeflatet	deflate64tbzip2tlzmattersetlz77itwavpackiatppmdibt
ZipExtFilecBs�eZdZdd>ZdZejd�Zde	d�Z
dd�Zdd�Zd	�Z
dd
�Zd�Zd�Zd
�ZRS(sZFile-like object for reading an archive member.
       Is returned by ZipFile.open().
    iiis*^(?P<chunk>[^\r\n]+)|(?P<newline>\n|\r\n?)cCsf||_||_||_|j|_|j|_|j|_|jtkrct	j
d�|_n\|jtkr�t
j|j�}|r�td|j|f��q�td|jf��nd|_d|_d|_d|k|_d|_|jdk	r|jd8_n||_|j|_t|d�rY|j|_td�d	@|_n	d|_dS(
Ni�scompression type %d (%s)scompression type %dRitUiRbI����(t_fileobjt
_decryptert_close_fileobjRYt_compress_typeRct_compress_sizet_compress_leftRtzlibt
decompressobjt
_decompressorRtcompressor_namestgettNotImplementedErrort_unconsumedt_readbuffert_offsett
_universalRKtnewlinestmodeR&tnameR$Rbt
_expected_crctcrc32t_running_crc(RqtfileobjR�tzipinfot	decryptert
close_fileobjtdescr((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRss4								i����cCs�|jra|dkra|jjd|j�d}|dkra|j|j|!}||_|Sn|js}tjj||�Sd}x|dks�t|�|kr�|jd�}|dkr�|S|j	j
|�}|jd�}|dk	rJ|j
dkrg|_
n||j
kr-|j
j|�n|jt|�7_|dS|jd�}|dkr|||t|� }n|jt|�7_||7}q�W|S(	srRead and return a line from the stream.

        If limit is specified, at most limit bytes will be read.
        is
iRitnewlinetchunkN(R�R�RiR�tiotBufferedIOBasetreadlineRtpeektPATTERNtsearchtgroupRKR�R(RqtlimitRtlinet	readaheadtmatchR�R�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�Bs8		!
cCs�|t|j�|jkr{|j|�}t|�|jkrc||j|j|_d|_q{|jt|�8_n|j|j|jd!S(s6Returns buffered bytes without advancing the position.ii(RR�R�R"(RqtnR�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�tscCstS(N(R(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pytreadable�scCs�d}|dkrd}nxztr�|dkrB|j|�}n2|t|�krp|j|t|��}n|St|�dkr�|S||7}qWdS(s�Read and return up to n bytes.
        If the argument is omitted, None, or negative, data is read and returned until EOF is reached..
        Ri����iN(RKRtread1R(RqR�tbufR:((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR"�s		cCs^|jdkrdSt||j�d@|_|rZ|j|jkrZtd|j��ndS(NI����sBad CRC-32 for file %r(R�RKR�R�RR�(Rqtnewdatateof((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_update_crc�s
cCsg|dks|dkr$|j}nt|j�|j}|jdkrW||t|j�krW||t|j�}t||j�}t	||j�}|j
j|�}|jt|�8_|r�|jdk	r�dj
t|j|��}n|jtkrE|j|d|jdk�|j|j||_d|_qW|j|7_nt|j�dkr4||kr4|jtkr4|jj|jt|||j��}|jj|_t|j�dko�|jdk}|r�||jj�7}n|j|d|�|j|j||_d|_n|j|j|j|!}|jt|�7_|S(s7Read up to n bytes with at most one read() system call.iRR�N(RKtMAX_NRR�R�R�R�ROt
MIN_READ_SIZEtminR�R"R�RtmapR�RR�RR�t
decompresstunconsumed_tailtflush(RqR�tlen_readbuffertnbytesR:R�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR��s>(!	$cCs8z|jr|jj�nWdtt|�j�XdS(N(R�R�tclosetsuperR�(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR��s	iN(R	R
RR�R�tretcompileR�RKRRsR�R�R�R"R�R�R�(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�s
'2
		
	4cBseZdZdZdeed�Zd�Zd�Z	d�Z
d�Zd�Zd�Z
d	�Zd
�Zd�Zed��Zejd
��Zdd�Zddd�Zddd�Zdddd�Zd�Zd�Zddd�Zdd�Zd�Zd�ZRS(sd Class with methods to open, read, write, close, list zip files.

    z = ZipFile(file, mode="r", compression=ZIP_STORED, allowZip64=False)

    file: Either the path to the file, or a file-like object.
          If it is a path, the file will be opened and closed by ZipFile.
    mode: The mode can be either read "r", write "w" or append "a".
    compression: ZIP_STORED (no compression) or ZIP_DEFLATED (requires zlib).
    allowZip64: if True ZipFile will create files with ZIP64 extensions when
                needed, otherwise it will raise an exception when this would
                be necessary.

    trcCs\|dkrtd��n|tkr*n*|tkrKtsTtd�qTn	td�||_t|_d|_i|_g|_	||_
|jdd	�d|_}d|_d	|_t|t�rXd|_||_id
d6dd6dd6}yt|||�|_Wqtk
rT|dkrNd}}t|||�|_qU�qXn'd
|_||_t|dd�|_y�|dkr�|j�n�|dkr�t|_no|dkry$|j�|jj|jd�Wq"tk
r|jjdd�t|_q"Xntd��Wn2|j}d|_|jsQ|j�n�nXdS(s>Open the ZIP file with mode read "r", write "w" or append "a".R�twtas(ZipFile() requires mode "r", "w", or "a"s.Compression requires the (missing) zlib modules(That compression method is not supporteditbRR#twbsr+biR�isMode must be "r", "w" or "a"N(R�R�R�(R�RRR�t_allowZip64Rt
_didModifytdebugt
NameToInfotfilelisttcompressionRmR�RKR�t_commentR�t
basestringt_filePassedR&R%R Rtgetattrt_RealGetContentsRR(t	start_dirRR�(RqtfileR�R�t
allowZip64tkeytmodeDictR ((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRs�sf											


		


			
cCs|S(N((Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt	__enter__4scCs|j�dS(N(R�(Rqttypetvaluet	traceback((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt__exit__7scCsH|j}yt|�}Wntk
r8td��nX|sKtd�n|jdkrb|GHn|t}|t}|t|_|t	||}|t
tkr�|tt
8}n|jdkr�||}dG|G|G|GHn|||_|j|jd�|j|�}tj|�}d}x||krC|jt�}	t|	�tkrftd��ntjt|	�}	|	ttkr�td��n|jdkr�|	GHn|j|	t�}
t|
�}|j|	t�|_|j|	t�|_|	t |_!|	dd!\|_"|_#|_$|_%|_&|_'}}
|_(|_)|_*|	d	d
!\|_+|_,|_-||_.|
d?d|
d
?d	@|
d@|d?|d
?d@|d@df|_/|j0�|j!||_!|j1�|_2|j3j4|�||j5|j2<|t|	t|	t|	t}|jdkr*dG|GHq*q*WdS(s/Read in the table of contents for the ZIP file.sFile is not a zip fileiisgiven, inferred, offsetisTruncated central directorys&Bad magic number for central directoryiiii	i�iiii?ttotalN(6R RRRR�R5R6t_ECD_COMMENTR�t
_ECD_LOCATIONR0R/R-R)R�R(R"t	cStringIOtStringIOtsizeCentralDirRR*RtstructCentralDirt
_CD_SIGNATUREtstringCentralDirt_CD_FILENAME_LENGTHRt_CD_EXTRA_FIELD_LENGTHRt_CD_COMMENT_LENGTHRVt_CD_LOCAL_HEADER_OFFSETRaR@RZR[R\R]RYRbRcRdR^R_R`ReRXR�R�R&R�RR�(RqR R9tsize_cdt	offset_cdtconcattinferredR:RtcentdirR&txtttd((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�:sd	






I	&
"cCs.g}x!|jD]}|j|j�qW|S(s+Return a list of file names in the archive.(R�RR&(RqtlR:((s,/opt/alt/python27/lib64/python2.7/zipfile.pytnamelistscCs|jS(sJReturn a list of class ZipInfo instances for files in the
        archive.(R�(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pytinfolist�scCsJdd	GHx:|jD]/}d|jd }d|j||jfGHqWdS(
s+Print a table of contents for the zip file.s%-46s %19s %12ss	File NamesModified    tSizes%d-%02d-%02d %02d:%02d:%02dis
%-46s %s %12dN(s	File NamesModified    R (R�RXR&Rd(Rqtzinfotdate((s,/opt/alt/python27/lib64/python2.7/zipfile.pytprintdir�s	cCsnd}xa|jD]V}y8|j|jd��}x|j|�rFq4WWdQXWqtk
re|jSXqWdS(s%Read all the files and check the CRC.iiR�Ni(R�R%R&R"R(Rqt
chunk_sizeR!tf((s,/opt/alt/python27/lib64/python2.7/zipfile.pyttestzip�s
cCs5|jj|�}|dkr1td|��n|S(s,Return the instance of ZipInfo given 'name'.s(There is no item named %r in the archiveN(R�R�RKtKeyError(RqR�tinfo((s,/opt/alt/python27/lib64/python2.7/zipfile.pytgetinfo�s
cCs
||_dS(s)Set default password for encrypted files.N(R�(RqR�((s,/opt/alt/python27/lib64/python2.7/zipfile.pytsetpassword�scCs|jS(s.The comment text associated with the ZIP file.(R�(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRV�scCsXt|�tkrBddl}|jdtdd�|t }n||_t|_dS(Ni����s3Archive comment is too long; truncating to %d bytest
stackleveli(RtZIP_MAX_COMMENTtwarningstwarnR�RR�(RqRVR-((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRV�s	
	cCs|j|d|�j�S(s)Return file bytes (as a string) for name.R�(R%R"(RqR�R�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR"�scCsd|dkrtd�n|js-td�n|jrH|j}t}nt|jd�}t}y�t|t�r{|}n|j	|�}|j
|jd�|jt
�}t|�t
kr�td��ntjt|�}|ttkr�td	��n|j|t�}|tr/|j|t�n||jkrWtd
|j|f�n|jd@}	d}
|	r&|s�|j}n|s�td|�nt|�}
|jd
�}t|
|dd
!�}|jd@r�|jd?d@}
n|jd?d@}
t|d�|
kr&td|��q&nt ||||
d|�SWn|rY|j!�n�nXdS(s#Return file-like object for 'name'.R�R�trUs&open() requires mode "r", "U", or "rU"s3Attempt to read ZIP archive that was already closedR#isTruncated file headers Bad magic number for file headers3File name in directory "%s" and header "%s" differ.is6File %s is encrypted, password required for extractioniii�iisBad password for fileR�N(R�R�R/("R�R R�RR%R&RR�RR)R(RaR"tsizeFileHeaderRRR*RRxt
_FH_SIGNATURERyt_FH_FILENAME_LENGTHt_FH_EXTRA_FIELD_LENGTHRWR]RKR�R�R�ReRbR�R�R�(RqR�R�R�tzef_filetshould_closeR!tfheadertfnametis_encryptedtzdtbytestht
check_byte((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR%�sd						




cCsOt|t�s!|j|�}n|dkr<tj�}n|j|||�S(s#Extract a member from the archive to the current working directory,
           using its full name. Its file information is extracted as accurately
           as possible. `member' may be a filename or a ZipInfo object. You can
           specify a different directory using `path'.
        N(R�RR)RKRktgetcwdt_extract_member(RqtmembertpathR�((s,/opt/alt/python27/lib64/python2.7/zipfile.pytextracts
cCsC|dkr|j�}nx!|D]}|j|||�q"WdS(s�Extract all members from the archive to the current working
           directory. `path' specifies a different directory to extract to.
           `members' is optional and must be a subset of the list returned
           by namelist().
        N(RKRRA(RqR@tmembersR�R�((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt
extractalls
c
Cs|jjdtjj�}tjjrH|jtjjtjj�}ntjj|�d}tjjjd�|jtjj�D��}tjjdkr2d}t	|t
�r�d�|D�}ntj|dt
|��}|j|�}d�|jtjj�D�}tjjjd	�|D��}ntjj||�}tjj|�}tjj|�}|r�tjj|�r�tj|�n|jd
dkr�tjj|�s�tj|�n|S|j|d|��/}t|d��}	tj||	�Wd
QXWd
QX|S(sbExtract the ZipInfo object 'member' to a physical
           file on the path targetpath.
        Rgicss6|],}|dtjjtjjfkr|VqdS(RN(RkR@tcurdirtpardir(t.0R((s,/opt/alt/python27/lib64/python2.7/zipfile.pys	<genexpr>6ss\s:<>|"?*cSs%i|]}td�t|��qS(t_(R�(RFR�((s,/opt/alt/python27/lib64/python2.7/zipfile.pys
<dictcomp><s	RGcss|]}|jd�VqdS(t.N(trstrip(RFR((s,/opt/alt/python27/lib64/python2.7/zipfile.pys	<genexpr>Ascss|]}|r|VqdS(N((RFR((s,/opt/alt/python27/lib64/python2.7/zipfile.pys	<genexpr>Bsi����R�R�N(R&RmRkR@Rltaltsept
splitdriveRtsplitR�R�tstringt	maketransRt	translatetnormpathtdirnametexiststmakedirstisdirtmkdirR%R�tshutiltcopyfileobj(
RqR?t
targetpathR�tarcnametillegalR�t	upperdirstsourcettarget((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR>)s4!."cCs+|j|jkr;ddl}|jd|jdd�n|jdkrVtd�n|jsktd	�n|jtkr�t	r�td
�n|jt
tfkr�td�n|js'd}t
|j�tkr�d}n0|jtkr�d
}n|jtkrd}n|r't|d��q'ndS(s6Check for errors before writing a file to the archive.i����NsDuplicate name: %rR+iR�R�s write() requires mode "w" or "a"s4Attempt to write ZIP archive that was already closeds.Compression requires the (missing) zlib modules(That compression method is not supportedsFiles counttFilesizesZipfile sizes would require ZIP64 extensions(R�R�(R&R�R-R.R�R�R RYRR�RR�RKRR�tZIP_FILECOUNT_LIMITRdRtRaR(RqR!R-trequires_zip64((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt_writecheckWs2								cCs|jstd��ntj|�}tj|j�}tj|j�}|dd!}|d	krm|}ntj
jtj
j|�d�}x*|dtj
tjfkr�|d}q�W|r�|d7}nt||�}|dd@d>|_|rt|_n$|d	kr |j|_n	||_|j|_d|_|jj�|_|j|�t|_|r�d|_d|_d|_|jdO_|jj|�||j |j!<|jj"|j#t$��d	St%|d
��
}	d|_}
d|_}|j&o|jdt'k}|jj"|j#|��|jt(krat)j*t)j+t)j,d�}
nd	}
d}xx|	j-d�}|s�Pn|t.|�}t/||
�d@}
|
r�|
j0|�}|t.|�}n|jj"|�qpWWd	QX|
r,|
j1�}|t.|�}|jj"|�||_n	||_|
|_||_|r�|j&r�|t'krrtd��n|t'kr�td��q�n|jj�}|jj2|jd�|jj"|j#|��|jj2|d�|jj|�||j |j!<d	S(sLPut the bytes from filename into the archive under the name
        arcname.s7Attempt to write to ZIP archive that was already closediiiRgi��liNR#g�������?i�iiI����s*File size has increased during compressings-Compressed size larger than uncompressed sizei (3R R�RktstattS_ISDIRtst_modettimet	localtimetst_mtimeRKR@RPRKRlRJRR`RRYR�tst_sizeRdR]RIRaRaRR�RcRbR�RR�R&twriteR�RR%R�RtRR�tcompressobjtZ_DEFAULT_COMPRESSIONtDEFLATEDR"RR�tcompressR�R((RqR&RYRYtstRTtmtimeRXR!R RbRcRztcmprRdR�tposition((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRiss�	
	"
		
				

				cCsEt|t�s}td|dtjtj��d �}|j|_|jddkrqd|_|jdO_q�d|_n|}|js�t	d	��n|dk	r�||_nt|�|_|jj
�|_|j|�t|_t|�d
@|_|jtkrRtjtjtjd�}|j|�|j�}t|�|_n|j|_|jtkpy|jtk}|r�|jr�td��n|jj|j |��|jj|�|j!d
@r|r�dnd}|jjt"j#|t$|j|j|j��n|jj�|j%j&|�||j'|j<dS(s�Write a file into the archive.  The contents is the string
        'bytes'.  'zinfo_or_arcname' is either a ZipInfo instance or
        the name of the file in the archive.R&RXii����Rgi�Aii�s7Attempt to write to ZIP archive that was already closedI����i�s'Filesize would require ZIP64 extensionsis<LLQQs<LLLLNi�Ai�((R�RReRfR�RYR&R`R R�RKRRdRIRaRaRR�R�RbRR�RjRkRlRmR�RcRtR�RRiR�R]R*Rut
_DD_SIGNATURER�RR�(Rqtzinfo_or_arcnameR:RYR!tcoRzR~((s,/opt/alt/python27/lib64/python2.7/zipfile.pytwritestr�sL		
	

cCs|j�dS(s2Call the "close()" method in case the user forgot.N(R�(Rq((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt__del__scCs�|jdkrdSz�|jdkr�|jr�|jj�}x�|jD]�}|j}|ddd>|dd>B|d	B}|d
d>|dd>B|dd	B}g}|jtks�|j	tkr�|j
|j�|j
|j	�d
}d
}n|j}|j	}|jtkr/|j
|j�d}	n	|j}	|j}
|r�t
|
d�}
tjddt|�ddt|�|�|
}
td|j�}td|j�}n|j}|j}y�|j�\}
}tjtt||j||j||j|||j||t|
�t|
�t|j�d|j|j|	�}Wn�tk
r�tj tt||j||j|j!|j|||j||t|j"�t|
�t|j�d|j|j|	fIJ�nX|jj#|�|jj#|
�|jj#|
�|jj#|j�qGW|jj�}t|j�}||}|}d}|t$kred}n*|tkrzd}n|tkr�d}n|rI|j%s�t&|d��ntjt't(ddddd||||�}|jj#|�tjt)t*d|d�}|jj#|�t+|d�}t+|d
�}t+|d
�}ntjt,t-dd||||t|j.��	}|jj#|�|jj#|j.�|jj/�nWd|j}d|_|j0s�|j1�nXdS(sJClose the file, and for mode "w" and "a" write the ending
        records.NR�R�ii�i	iiiiiiI����l��s<HHtQii-sFiles countsCentral directory offsetsCentral directory sizes would require ZIP64 extensionsi,i��(R�R�(i(2R RKR�R�RIR�RXRdRtRcRRaRRR*RuRROR[R@RwRRRZR\RYRbRVR_R`tDeprecationWarningRotstderrR]R&RiR_R�RR.R/R+R,R�RMRLR�R�R�R�(Rqtpos1R!R{R|R}RRdRcRat
extra_dataR[R@R&R]Rtpos2tcentDirCounttcentDirSizet
centDirOffsetR`tzip64endrectzip64locrecR9R ((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�s�	&&									


!	
				
			N(R	R
RRKR RRRsRRR�RRR#R&R)R*tpropertyRVtsetterR"R%RARCR>RaRiRuRvR�(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�s0
G			E				
			O	.	\3	cBs#eZdZdd�Zd�ZRS(sDClass to create ZIP archives with Python library files and packages.Rc
Cs�tjj|�\}}tjj|�r|tjj|d�}tjj|�r�|rjd||f}n|}|jr�dG|GdG|GHn|j|dd!|�\}}|jr�dG|GHn|j||�tj	|�}|j
d�x�|D]�}	tjj||	�}
tjj|	�\}}tjj|
�rptjjtjj|
d��r�|j|
|�q�q�|dkr�|j|
dd!|�\}}|jr�dG|GHn|j||�q�q�Wq�|jr�d	G|GHnx�tj	|�D]�}	tjj||	�}
tjj|	�\}}|dkr�|j|
dd!|�\}}|jrbdG|GHn|j||�q�q�Wn`|ddkr�t
d
�n|j|dd!|�\}}|jr�dG|GHn|j||�dS(
s,Add all files from "pathname" to the ZIP archive.

        If pathname is a package directory, search the directory and
        all package subdirectories recursively for all *.py and enter
        the modules into the archive.  If pathname is a plain
        directory, listdir *.py and enter all modules.  Else, pathname
        must be a Python *.py file and the module will be put into the
        archive.  Added modules are always module.pyo or module.pyc.
        This method will compile the module.py into module.pyc if
        necessary.
        s__init__.pys%s/%ssAdding package intasii����tAddings.pysAdding files from directorys.Files added with writepy() must end with ".py"sAdding fileN(RkR@RLRTRtisfileR�t
_get_codenameRitlistdirtremovetsplitexttwritepyR�(
RqtpathnametbasenametdirR�tinitnameR7RYtdirlistR&R@troottext((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�zsZ		

!					c
Cs8|d}|d}|d}tjj|�r]tj|�jtj|�jkr]|}n�tjj|�s�tj|�jtj|�jkr�ddl}|jr�dG|GHny|j||dt	�Wn|j
k
r�}|jGHnX|}n|}tjj|�d}	|r.d||	f}	n||	fS(	sReturn (filename, archivename) for the path.

        Given a module name path, return the correct file path and
        archive name, compiling if necessary.  For example, given
        /python/lib/string, return (/python/lib/string.pyc, string).
        s.pys.pycs.pyoi����Nt	Compilingis%s/%s(
RkR@R�RbRgt
py_compileR�R�RKRtPyCompileErrortmsgRL(
RqR�R�tfile_pytfile_pyctfile_pyoR7R�terrtarchivename((s,/opt/alt/python27/lib64/python2.7/zipfile.pyR��s*


$	$		(R	R
RR�R�(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyRwsAc	s�ddl}|jd�}|dkr7tjd}n|sN|ddkrc|GHtjd�n|ddkr�t|�d	kr�|GHtjd�nt|dd
��}|j�WdQXn�|ddkrAt|�d	kr�|GHtjd�nt|dd
��}|j	�}WdQX|r9dj
|�GHndGHnT|ddkr�t|�d
krx|GHtjd�nt|dd
��}|j|d	�WdQXn�|ddkr�t|�d
kr�|GHtjd�n�fd��t|dddt���}x|d	D]s}t
jj|�}|sTt
jjt
jj|��}n|dt
jt
jfkrxd}n�|||�qWWdQXndS(Ni����sE        Usage:
            zipfile.py -l zipfile.zip        # Show listing of a zipfile
            zipfile.py -t zipfile.zip        # Test if a zipfile is valid
            zipfile.py -e zipfile.zip target # Extract zipfile into target dir
            zipfile.py -c zipfile.zip src ... # Create zipfile from sources
        iis-ls-cs-es-tiR�s.The following enclosed file is corrupted: {!r}sDone testingics�tjj|�r(|j||t�nvtjj|�r�|rS|j||�nxHtj|�D]4}�|tjj||�tjj||��qcWndS(N(RkR@R�RiRRTR�R(tzfR@tzippathtnm(taddToZip(s,/opt/alt/python27/lib64/python2.7/zipfile.pyR�sR�RR(s-ls-cs-es-t(ttextwraptdedentRKRotargvtexitRRR#R&tformatRCRRkR@R�RQRDRE(targsR�tUSAGER�tbadfileR@R�((R�s,/opt/alt/python27/lib64/python2.7/zipfile.pytmain�sT	!	t__main__(oRR*RkReRoRVtbinasciiRRbR�R�RMR�R�tImportErrorRKt__all__t	ExceptionRRRRtR_R,RRRMRLRvRJR0R1R2R3R4R5R6RQR	R
RRR
Rt_CD_CREATE_VERSIONt_CD_CREATE_SYSTEMt_CD_EXTRACT_VERSIONt_CD_EXTRACT_SYSTEMt
_CD_FLAG_BITSt_CD_COMPRESS_TYPEt_CD_TIMEt_CD_DATEt_CD_CRCt_CD_COMPRESSED_SIZEt_CD_UNCOMPRESSED_SIZERRRt_CD_DISK_NUMBER_STARTt_CD_INTERNAL_FILE_ATTRIBUTESt_CD_EXTERNAL_FILE_ATTRIBUTESRRxRyR0R1t_FH_EXTRACT_VERSIONt_FH_EXTRACT_SYSTEMt_FH_GENERAL_PURPOSE_FLAG_BITSt_FH_COMPRESSION_METHODt_FH_LAST_MOD_TIMEt_FH_LAST_MOD_DATEt_FH_CRCt_FH_COMPRESSED_SIZEt_FH_UNCOMPRESSED_SIZER2R3R+R,R)R.R/R-t_CD64_SIGNATUREt_CD64_DIRECTORY_RECSIZEt_CD64_CREATE_VERSIONt_CD64_EXTRACT_VERSIONt_CD64_DISK_NUMBERt_CD64_DISK_NUMBER_STARTt_CD64_NUMBER_ENTRIES_THIS_DISKt_CD64_NUMBER_ENTRIES_TOTALt_CD64_DIRECTORY_SIZEt_CD64_OFFSET_START_CENTDIRRrtStructR
RR!RRHRtobjectRR�R�R�R�RRR�R	(((s,/opt/alt/python27/lib64/python2.7/zipfile.pyt<module>s�<$


				+	=�<
����cB