Tryag File Manager
Home
-
Turbo Force
Current Path :
/
proc
/
self
/
root
/
proc
/
self
/
root
/
usr
/
lib
/
python2.4
/
email
/
Upload File :
New :
File
Dir
//proc/self/root/proc/self/root/usr/lib/python2.4/email/Generator.pyc
mò ‚=5Dc @ sÙ d Z d k Z d k Z d k Z d k Z d k Z d k l Z d k l Z d Z d Z e i d e i ƒ Z d „ Z d f d „ ƒ YZ d Z d e f d „ ƒ YZ e e e i d ƒ ƒ Z d e Z d d „ Z d S( s: Classes to generate plain text from a message object tree.N( s StringIO( s Headert _s s ^From c C sC t | t ƒ o/ y t | d ƒ Wq? t j o t Sq? Xn t S( Ns us-ascii( t isinstancet st strt unicodet UnicodeErrort Truet False( R ( ( t% /usr/lib/python2.4/email/Generator.pyt _is8bitstring s t Generatorc B sŒ t Z d Z e d d „ Z d „ Z e d „ Z e d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e Z d „ Z d „ Z d „ Z RS( sŠ Generates output from a Message object tree. This basic generator writes the message to the given file object as plain text. iN c C s | | _ | | _ | | _ d S( sá Create the generator for message flattening. outfp is the output file-like object for writing the message to. It must have a write() method. Optional mangle_from_ is a flag that, when True (the default), escapes From_ lines in the body of the message by putting a `>' in front of them. Optional maxheaderlen specifies the longest length for a non-continued header. When a header line is longer (in characters, with tabs expanded to 8 spaces) than maxheaderlen, the header will split as defined in the Header class. Set maxheaderlen to zero to disable header wrapping. The default is 78, as recommended (but not required) by RFC 2822. N( t outfpt selft _fpt mangle_from_t _mangle_from_t maxheaderlent _maxheaderlen( R R R R ( ( R t __init__) s c C s | i i | ƒ d S( N( R R t writeR ( R R ( ( R R >