Mercurial > cpython-lru_cache-weakref
diff Lib/email/Iterators.py @ 25088:19982c5eb493 legacy-trunk
_structure(): Use .get_content_type()
| author | Barry Warsaw <barry@python.org> |
|---|---|
| date | Sun, 01 Sep 2002 21:04:43 +0000 |
| parents | 697777cc83cc |
| children | 2d80bf65cd09 |
line wrap: on
line diff
--- a/Lib/email/Iterators.py Sun Sep 01 15:06:28 2002 +0000 +++ b/Lib/email/Iterators.py Sun Sep 01 21:04:43 2002 +0000 @@ -19,7 +19,7 @@ if fp is None: fp = sys.stdout tab = ' ' * (level * 4) - print >> fp, tab + msg.get_type(msg.get_default_type()) + print >> fp, tab + msg.get_content_type() if msg.is_multipart(): for subpart in msg.get_payload(): _structure(subpart, level+1, fp)
