Ñò §ÚêLc@sÕdZddkZddkZddkZddklZlZeƒiiƒz.ei oedde ƒnddk Z WdQXddkl Z e ddd ƒd d d d ddgZ d e ifd„ƒYZyddkZWnej oddkZnXeiƒZ[dad„Zdad„Zd„Zd„ZdZhed6ed6ed6ed6dd6dd6Zhdd6dd6dd6dd6d d6d!d6Zd"„Zd#„Zd$„Z d%„Z!dS(&s<Various tools used by MIME-reading or MIME-writing programs.iÿÿÿÿN(tfilterwarningstcatch_warningstignores.*rfc822 has been removed(twarnpy3ks@in 3.x, mimetools has been removed in favor of the email packaget stacklevelitMessagetchoose_boundarytencodetdecodet copyliteralt copybinarycBskeZdZdd„Zd„Zd„Zd„Zd„Zd„Zd„Z d „Z d „Z d „Z RS( sˆA derived class of rfc822.Message that knows about MIME headers and contains some hooks for decoding encoded and multipart messages.icCsRtii|||ƒ|idƒ|_|idƒ|_|iƒ|iƒdS(Nscontent-transfer-encodings content-type(trfc822Rt__init__t getheadertencodingheadert typeheadert parsetypet parseplist(tselftfptseekable((s!/usr/lib64/python2.6/mimetools.pyR s  cCsß|i}|djo d}nd|jo*|idƒ}|||_|| }n d|_|idƒ}x4tt|ƒƒD] }||iƒiƒ||sZ      W