| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python2.7/dist-packages/twisted/python/ |
Upload File : |
ó
Ý&Mc @ s d Z d d l Z d d l Z d d l Z d d l Z d d l Z e j e j ƒ Z d e j
f d „ ƒ YZ d e f d „ ƒ YZ
d e
f d „ ƒ YZ d e
f d
„ ƒ YZ d d d
„ Z d Z d d e d „ Z d „ Z d „ Z d „ Z d d d d „ Z d S( sŸ
An incremental approach to unzipping files. This allows you to unzip a little
bit of a file at a time, which means you can report progress as a file unzips.
iÿÿÿÿNt ChunkingZipFilec B s e Z d Z d „ Z RS( sq
A ZipFile object which, with readfile(), also gives you access to a
filelike object for each entry.
c C s| | j d k r t d ƒ ‚ n | j s6 t d ƒ ‚ n | j | ƒ } | j j | j d ƒ | j j t ƒ } | d d !t j k r• t j
d ƒ ‚ n t j t j
| ƒ } | j j | t j ƒ } | t j rê | j j | t j ƒ n | | j k rt j
d | j | f ƒ ‚ n | j t j k r:t | | j ƒ S| j t j k r\t | | j ƒ St j
d | j | f ƒ ‚ d
S( s3
Return file-like object for name.
t rt as read() requires mode "r" or "a"s3 Attempt to read ZIP archive that was already closedi i s Bad magic number for file headers3 File name in directory "%s" and header "%s" differ.s- Unsupported compression method %d for file %sN( R R ( t modet RuntimeErrort fpt getinfot seekt
header_offsett readt _fileHeaderSizet zipfilet stringFileHeadert
BadZipfilet structt unpackt structFileHeadert _FH_FILENAME_LENGTHt _FH_EXTRA_FIELD_LENGTHt
orig_filenamet
compress_typet
ZIP_STOREDt ZipFileEntryt
compress_sizet ZIP_DEFLATEDt DeflatedZipFileEntry( t selft namet zinfot fheadert fname( ( s<