| 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 e Z d d l Z d d l Z d d l Z d d l Z e j d d
k rh e Z d d l
m Z n e Z d d l
m Z d d l m Z m Z d Z d e f d
YZ d e f d YZ d d g Z d S( sä
This module contains partial re-implementations of FilePath, pending some
specification of formal interfaces it is a duck-typing attempt to emulate them
for certain restricted uses.
See the constructor for ZipArchive for use.
i’’’’Ni i ( t ZipFile( t ChunkingZipFile( t FilePatht _PathHelpert /t ZipPathc B s¹ e Z d Z d Z d Z d Z d Z d Z d Z d Z d Z
d Z d
Z d Z
d Z d
Z d Z d Z d Z d Z d Z d Z RS( sF
I represent a file or directory contained within a zip file.
c C s@ | | _ | | _ t j j | j j | j j t | _ d S( s·
Don't construct me directly. Use ZipArchive.child().
@param archive: a ZipArchive instance.
@param pathInArchive: a ZIP_PATH_SEP-separated string.
N( t archivet
pathInArchivet ost patht joint zipfilet filenamet splitt ZIP_PATH_SEP( t selfR R ( ( s: /usr/lib/python2.7/dist-packages/twisted/python/zippath.pyt __init__+ s c C s8 t | t s t St | j | j f | j | j f S( N( t
isinstanceR t NotImplementedt cmpR R ( R t other( ( s: /usr/lib/python2.7/dist-packages/twisted/python/zippath.pyt __cmp__: s c C sZ t j j | j j g } | j | j j t t j j | } d | j
d f S( Ns
ZipPath('%s')s
string-escape( R R t abspathR t extendR R
R t sepR
t encode( R t partsR ( ( s: /usr/lib/python2.7/dist-packages/twisted/python/zippath.pyt __repr__A s c C sH | j j t } t | d k r+ | j St | j t j | d S( Ni i’’’’( R R
R t lenR R R
( R t splitup( ( s: /usr/lib/python2.7/dist-packages/twisted/python/zippath.pyt parentH s c C s"