config root man

Current Path : /usr/local/lib/python2.5/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //usr/local/lib/python2.5/mimify.pyo

³ò
h”Rc@sèdZdZdZdZddkZdddd	gZeid
eiƒZeideiƒZ	eideiei
BƒZeid
eiei
BƒZeidƒZ
eideiƒZeideiƒZeideiƒZdd/d„ƒYZdd0d„ƒYZd„Zd„Zdd„Zdd„ZeidƒZeidƒZd„ZeidƒZd„Zeid eiƒZeid!eiƒZeid"ƒZd#„Zd$„Z ddk!Z!e"d%jp*e#e!i$ƒdjoõe!i$ddjoáddk%Z%d&Z&dZ'e%i%e!i$d'd(ƒ\Z(Z)e#e)ƒd1joe&GHe!i*d'ƒnd2e(jd3e(jjpd4e(jo#d5e(joe&GHe!i*d'ƒnx¨e(D] \Z+Z,e+d*jo
e Z-q³e+d,jo
eZ-q³e+d.joBye.e,ƒZWqSe/e0fj
oe&GHe!i*d'ƒqSXq³e+d-jo
d'Z'q³q³We#e)ƒdjoe!i1e!i2fZ3n?e#e)ƒd'joe)de!i2fZ3ne)de)d'fZ3e'oe3e'fZ3ne-e3ŒndS(6s¾Mimification and unmimification of mail messages.

Decode quoted-printable parts of a mail message or encode using
quoted-printable.

Usage:
        mimify(input, output)
        unmimify(input, output, decode_base64 = 0)
to encode and decode respectively.  Input and output may be the name
of a file or an open file object.  Only a readline() method is used
on the input file, only a write() method is used on the output file.
When using file names, the input and output file names may be the
same.

Interactive usage:
        mimify.py -e [infile [outfile]]
        mimify.py -d [infile [outfile]]
to encode and decode respectively.  Infile defaults to standard
input and outfile to standard output.
iÈs
ISO-8859-1s> iÿÿÿÿNtmimifytunmimifytmime_encode_headertmime_decode_headers.^content-transfer-encoding:\s*quoted-printables$^content-transfer-encoding:\s*base64s0^content-type:.*multipart/.*boundary="?([^;"
]*)s:^(content-type:.*charset=")(us-ascii|iso-8859-[0-9]+)(".*)s^-*
s=([0-9a-f][0-9a-f])s=\?iso-8859-1\?q\?([^? 	
]+)\?=s^subject:\s+re: tFilecBs eZdZd„Zd„ZRS(s{A simple fake file object that knows about limited read-ahead and
    boundaries.  The only supported method is readline().cCs||_||_d|_dS(N(tfiletboundarytNonetpeek(tselfRR((s"/usr/local/lib/python2.5/mimify.pyt__init__/s		cCs’|idj	odSn|iiƒ}|p|Sn|ioN||idjo||_dSn||idjo||_dSqŽn|S(Nts
s--
(RRRtreadlineR(R	tline((s"/usr/local/lib/python2.5/mimify.pyR4s
		(t__name__t
__module__t__doc__R
R(((s"/usr/local/lib/python2.5/mimify.pyR+s	t
HeaderFilecBseZd„Zd„ZRS(cCs||_d|_dS(N(RRR(R	R((s"/usr/local/lib/python2.5/mimify.pyR
Ds	cCsÔ|idj	o|i}d|_n|iiƒ}|p|Snti|ƒo|Snxq|iiƒ|_t|iƒdjp(|iddjo|iddjo|Sn||i}d|_q_dS(Nit s	(RRRRthetmatchtlen(R	R
((s"/usr/local/lib/python2.5/mimify.pyRHs	
(
(RRR
R(((s"/usr/local/lib/python2.5/mimify.pyRCs	cCs‡d}d}xlti||ƒ}|djoPn||||idƒ!tt|idƒdƒƒ}|idƒ}q|||S(s6Decode a single line of quoted-printable text to 8bit.RiiiN(t	mime_codetsearchRtstarttchrtinttgrouptend(R
tnewlinetpostres((s"/usr/local/lib/python2.5/mimify.pytmime_decodeZs
cCsœd}d}xti||ƒ}|djoPn|idƒ}di|idƒƒ}||||idƒ!t|ƒ}|idƒ}q|||S(sDecode a header line to 8bit.RiiRt_N(	t	mime_headRRRtjointsplitRR R(R
RRRR((s"/usr/local/lib/python2.5/mimify.pyRgs
$ic	Cs}d}d}d}d}|io|id tjo
t}nd}t|ƒ}x|iƒ}	|	pdSn|o1|	t|ƒ |jo|	t|ƒ}	|}
nd}
t|	ƒ}	ti|	ƒo
d}qUn|ot	i|	ƒo
d}qUn|i
|
|	ƒ|oti|	ƒo
d}nti|	ƒ}|od|i
dƒ}nti|	ƒoPqUqU|o|p|o
d}nxä|iƒ}	|	pdSntitd|	ƒ}	|o1|	t|ƒ |jo|	t|ƒ}	|}
nd}
x|o•|	|djo"|i
|
|	ƒd}d}	Pn|	|d	joL|i
|
|	ƒt||ƒ}t|||ƒ|i}	|	pPqqnPqW|	o{|otxa|	d
djoO|	d
 }	|iƒ}
|
ttƒ tjo|
ttƒ}
n|	|
}	q´Wt|	ƒ}	n|	o.|o'|
oddk}|i|	ƒ}	n|	o|i
|
|	ƒq•q•dS(
s?Convert a quoted-printable part of a MIME mail message to 8bit.iiRNis--s\1s--
s
iþÿÿÿs=
iÿÿÿÿ(RRtQUOTERRRRtqpRt	base64_retwritetrepltmpRRtretsubR"Rt
unmimify_partRR tbase64tdecodestring(tifiletofilet
decode_base64t	multiparttquoted_printablet	is_base64tis_repltprefixthfileR
tpreftmp_restnifileRR.((s"/usr/local/lib/python2.5/mimify.pyR-vs




	
c	Csÿt|ƒtdƒjot|ƒ}t|ƒtdƒjoX||joKddk}|ii|ƒ\}}|i||ii|d|ƒƒq n|}t|ƒtdƒjot|dƒ}n|}t|dƒ}t	|||ƒ|i
ƒdS(s>Convert quoted-printable parts of a MIME mail message to 8bit.RiÿÿÿÿNt,tw(ttypetopentostpathR$trenameR#RRR-tflush(	tinfiletoutfileR2R0R@tdtfR1R;((s"/usr/local/lib/python2.5/mimify.pyRËs&+s[=-ÿ]s[=?-ÿ]cCsr|o
t}nt}d}d}t|ƒdjo1|d djo dtdƒiƒ}d}nxm|i||ƒ}|djoPn||||idƒ!dt|idƒƒiƒ}|i	dƒ}qj|||}d}x|t|ƒdjohd	}x5||d
jp||dd
jo|d}q
W|d}||| d}||}qîW||S(
sZCode a single line as quoted-printable.
    If header is set, quote some extra characters.RiisFrom s=%02xtFiiKiIt=s=
N(
tmime_header_chart	mime_charRtordtupperRRRRR(R
theadertregRRRti((s"/usr/local/lib/python2.5/mimify.pytmime_encodeàs6
$

 &
s<([ 	(]|^)([-a-zA-Z0-9_+]*[-ÿ][-a-zA-Z0-9_+-ÿ]*)(?=[ 	)]|
)c	Cs•d}d}xzti||ƒ}|djoPnd||||idƒ!|idƒtt|idƒdƒf}|idƒ}q|||S(s.Code a single header line as quoted-printable.Ris%s%s%s=?%s?Q?%s?=iiN(tmime_headerRRRRtCHARSETRQR(R
RRR((s"/usr/local/lib/python2.5/mimify.pyRs
"s^mime-version:s^content-transfer-encoding:s[-ÿ]cCsˆd}}}d}d}}}	g}
d}g}d}
t|ƒ}xú|iƒ}|pPn|oti|ƒo
d}nti|ƒo
d}nti|ƒo>d}ti|ƒo
d}qët	i|ƒo
d}qënt
i|ƒ}|od|idƒ}nti|ƒo|}Pn|
i
|ƒqIxR|iƒ}|pPn|o<||djo|}
Pn||djo|}
Pq¡n|o|i
|ƒqFn|otxa|ddjoO|d }|iƒ}|ttƒ tjo|ttƒ}n||}qÆWt|ƒ}n|i
|ƒ|	p"ti|ƒod}	}qmn|p!t|ƒtjo
d}q•qFqFx|
D]ÿ}|ot|ƒ}nti|ƒ}|oj|	oI|id	ƒiƒd
jo)d|idƒt|idƒf}q8q<d
|iddƒ}n|oNti|ƒo>d}|o|d}q‘|o|d}q‘|d}n|i|ƒqŸW|p|oO|oG|idƒ|idƒ|	o|idtƒqÿ|idƒn|o|o|idƒn|i|ƒx5|D]-}|ot|dƒ}n|i|ƒq3W|i|
ƒ|
}x
|o||djoLxI|iƒ}|pdSn|ot|dƒ}n|i|ƒq•n||djoHt||ƒ}t||dƒ|i}|pPn|i|ƒqznxE|iƒ}|pdSn|ot|dƒ}n|i|ƒq:qzWdS(s@Convert an 8bit part of a MIME mail message to quoted-printable.iRis--s--
s
iþÿÿÿs=
isus-asciis%s%s%sis%sus-ascii%ssContent-Transfer-Encoding: sbase64
squoted-printable
s7bit
sMime-Version: 1.0
sContent-Type: text/plain; s
charset="%s"
scharset="us-ascii"
s,Content-Transfer-Encoding: quoted-printable
N(RRRtiso_charRtmvRtcteR&R'R*RRtappendRR%R tMAXLENRtchrsettlowerRSR(RQRtmimify_partR(R0R1tis_mimethas_ctetis_qpR5R3tmust_quote_bodytmust_quote_headert
has_iso_charsRNt
header_endtmessagetmessage_endR8R
R:Rt
chrset_resR;((s"/usr/local/lib/python2.5/mimify.pyR[sð


	






	
cCsÿt|ƒtdƒjot|ƒ}t|ƒtdƒjoX||joKddk}|ii|ƒ\}}|i||ii|d|ƒƒq n|}t|ƒtdƒjot|dƒ}n|}t|dƒ}t	||dƒ|i
ƒdS(s>Convert 8bit parts of a MIME mail message to quoted-printable.RiÿÿÿÿNR<R=i(R>R?R@RAR$RBR#RRR[RC(RDRER0R@RFRGR1R;((s"/usr/local/lib/python2.5/mimify.pyR›s&+t__main__s/Usage: mimify [-l len] -[ed] [infile [outfile]]isl:edbis-eRs-ds-bs-l(((iii(s-eR(s-dR(s-bR(s-dR(4RRXRSR%R+t__all__tcompiletIR&R'tSR*RYRRR"R)RRR RR-RRKRJRQRRRRURVRTR[RtsysRRtargvtgetopttusageR2toptstargstexittotatencodeRt
ValueErrort
OverflowErrortstdintstdouttencode_args(((s"/usr/local/lib/python2.5/mimify.pys<module>s€	
	U	 		‡	7







Man Man