HEX
Server: LiteSpeed
System: Linux atali.colombiahosting.com.co 5.14.0-570.12.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue May 13 06:11:55 EDT 2025 x86_64
User: coopserp (1713)
PHP: 8.2.29
Disabled: dl,exec,passthru,proc_open,proc_close,shell_exec,memory_limit,system,popen,curl_multi_exec,show_source,symlink,link,leak,listen,diskfreespace,tmpfile,ignore_user_abord,highlight_file,source,show_source,fpaththru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,posix_getppid,posix_getpwnam,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setid,posix_times,posix_ttyname,posix_uname,proc_get_status,proc_nice,proc_terminate
Upload Files
File: //usr/local/lib/python3.9/site-packages/future/backports/email/__pycache__/iterators.cpython-39.pyc
a

��?h,	�@szdZddlmZddlmZddlmZddlmZgd�ZddlZddlm	Z	d	d
�Z
ddd
�Zddd�Zddd�Z
dS)z1Various types of useful iterators and generators.�)�print_function)�unicode_literals)�division)�absolute_import)�body_line_iterator�typed_subpart_iterator�walkN)�StringIOccs4|V|��r0|��D]}|��D]
}|Vq"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�subpartZ
subsubpart�r�J/usr/local/lib/python3.9/site-packages/future/backports/email/iterators.pyrs
rFccs<|��D].}|j|d�}t|t�rt|�D]
}|Vq*qdS)z�Iterate over the parts, returning string payloads line-by-line.

    Optional decode (default False) is passed through to .get_payload().
    )�decodeN)rr�
isinstance�strr	)�msgrr
�payload�linerrrr%s

r�textccs8|��D]*}|��|kr|dus,|��|kr|VqdS)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�get_content_maintype�get_content_subtype)r�maintype�subtyper
rrrr1srcCs�|durtj}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�print�get_content_type�get_default_typer
r�
_structure)r�fp�level�include_default�tabr
rrrr&>s
r&)F)rN)NrF)�__doc__�
__future__rrrr�__all__r!�ior	rrrr&rrrr�<module>s