KGRKJGETMRETU895U-589TY5MIGM5JGB5SDFESFREWTGR54TY
Server : Apache/2.2.17 (Unix) mod_ssl/2.2.17 OpenSSL/0.9.8e-fips-rhel5 DAV/2 PHP/5.2.17
System : Linux localhost 2.6.18-419.el5 #1 SMP Fri Feb 24 22:47:42 UTC 2017 x86_64
User : nobody ( 99)
PHP Version : 5.2.17
Disable Function : NONE
Directory :  /proc/21585/root/usr/lib64/python2.4/email/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/21585/root/usr/lib64/python2.4/email/Iterators.pyc
mò
‚=5Dc@sVdZdkZdklZd„Zed„Zddd„Zdded„Z	dS(	s1Various types of useful iterators and generators.N(sStringIOccsK|V|iƒo6x3|iƒD]!}x|iƒD]
}|Vq1WqWndS(s‰Walk over the message tree, yielding each subpart.

    The walk is performed in depth-first order.  This method is a
    generator.
    N(tselftis_multiparttget_payloadtsubparttwalkt
subsubpart(RRR((t'/usr/lib64/python2.4/email/Iterators.pyR
s


ccs\xU|iƒD]G}|id|ƒ}t|tƒoxt|ƒD]
}|VqBWq
q
WdS(sŽIterate over the parts, returning string payloads line-by-line.

    Optional decode (default False) is passed through to .get_payload().
    tdecodeN(
tmsgRRRRtpayloadt
isinstancet
basestringtStringIOtline(RRRR
R	((Rtbody_line_iterators

ttextccsZxS|iƒD]E}|iƒ|jo,|djp|iƒ|jo|VqRq
q
WdS(søIterate over the subparts with a given MIME type.

    Use `maintype' as the main MIME type to match against; this defaults to
    "text".  Optional `subtype' is the MIME subtype to match against; if
    omitted, only the main type is matched.
    N(RRRtget_content_maintypetmaintypetsubtypetNonetget_content_subtype(RRRR((Rttyped_subpart_iterator)s
 ic	Cs¢|djo
ti}nd|d}|||iƒI|o|d|i	ƒIJn|J|i
ƒo2x/|iƒD]}t
|||d|ƒqyWndS(sA handy debugging aidt is[%s]iN(tfpRtsyststdouttlevelttabRtget_content_typetinclude_defaulttget_default_typeRRRt
_structure(RRRRRR((RR7s



(
t__doc__Rt	cStringIORRtFalseRRRR(RRRRRR((Rt?s	
	

Anon7 - 2021