Edit File: iterators.pyo
� ��7ec�����������@���sk���d��Z��d�d�d�g�Z�d�d�l�Z�d�d�l�m�Z�d����Z�e�d���Z�d �d�d ���Z �d�d�e�d���Z �d�S( ���s1���Various types of useful iterators and generators.t���body_line_iteratort���typed_subpart_iteratort���walki����N(���t���StringIOc���������c���sK���|��V|��j�����rG�x3�|��j����D]"�}�x�|�j����D]�}�|�Vq1�Wq�Wn��d�S(���s����Walk over the message tree, yielding each subpart. The walk is performed in depth-first order. This method is a generator. N(���t���is_multipartt���get_payloadR���(���t���selft���subpartt ���subsubpart(����(����s'���/usr/lib64/python2.7/email/iterators.pyR������s ����c���������c���s[���xT�|��j�����D]F�}�|�j�d�|���}�t�|�t���r �x�t�|���D]�}�|�VqA�Wq �q �Wd�S(���s����Iterate over the parts, returning string payloads line-by-line. Optional decode (default False) is passed through to .get_payload(). t���decodeN(���R���R���t ���isinstancet ���basestringR���(���t���msgR ���R���t���payloadt���line(����(����s'���/usr/lib64/python2.7/email/iterators.pyR����#���s ����t���textc���������c���sV���xO�|��j�����D]A�}�|�j����|�k�r �|�d�k�sC�|�j����|�k�rN�|�VqN�q �q �Wd�S(���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(���R���t���get_content_maintypet���Nonet���get_content_subtype(���R���t���maintypet���subtypeR���(����(����s'���/usr/lib64/python2.7/email/iterators.pyR���/���s����i����c���������C���s����|�d�k�r�t�j�}�n��d�|�d�}�|�|�|��j����I|�rW�|�d�|��j����IJn�|�J|��j����r��x.�|��j����D]�}�t�|�|�|�d�|���qt�Wn��d�S(���s���A handy debugging aidt��� i���s���[%s]i���N(���R���t���syst���stdoutt���get_content_typet���get_default_typeR���R���t ���_structure(���R���t���fpt���levelt���include_defaultt���tabR���(����(����s'���/usr/lib64/python2.7/email/iterators.pyR���=���s����(���t���__doc__t���__all__R���t ���cStringIOR���R���t���FalseR����R���R���R���(����(����(����s'���/usr/lib64/python2.7/email/iterators.pyt���<module>���s���