WcWcsB gdZddlZddlmZdZd dZd dZd d ZdS) )body_line_iteratortyped_subpart_iteratorwalkN)StringIOc#sK ||jr.|jD]}|jEd{dSdS7N) is_multipart get_payloadr)Zselfsubparts (/usr/lib64/python3.12/email/iterators.pyrrsp JJJ '') & &G||~ % % % % % % & & %sA Fc#sK |jD]<}|j|}t|ts*t |Ed{>dS7)N)decode)rrZ isinstanceZstrr)msgr rZpayload r rr"so88:))%%V%4 gs # #( ( ( ( ( ( ()) )sAtextc#sK |jD]4}|j|ks||j|ks1|6dSr)rZget_content_maintypeZget_content_subtype)r ZmaintypeZsubtyperr r rr-se 88:  ' ' )X 5 5'"="="?7"J"J cs\ |tj}d|dzz}t||jzd||r"td|j z|nt||j r*|j D]}t|||dz|dSdS)Nz iZ)Zendfilez [%s])ri)sysZstdoutZprintZget_content_typeZget_default_typerr _structure)r ZfpZlevelZinclude_defaultZtabrs r rr;s z ZZ  C #$$& &BR888 g,,..R8888 2 ( > >G wE!G_ = = = > >r)F)r N)NrF)Z__all__rZiorrrrr)rr rs 8     & & &))))     > > > > > >r