diff options
-rw-r--r-- | Lib/email/Iterators.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/email/Iterators.py b/Lib/email/Iterators.py index d5f6eeb..9d9a5e7 100644 --- a/Lib/email/Iterators.py +++ b/Lib/email/Iterators.py @@ -19,7 +19,7 @@ def _structure(msg, level=0, fp=None): 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) |