You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by se...@apache.org on 2017/09/25 13:25:12 UTC
incubator-ponymail git commit: Show some message structure if verbose
Repository: incubator-ponymail
Updated Branches:
refs/heads/master 698732cd4 -> 15fdd790e
Show some message structure if verbose
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/15fdd790
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/15fdd790
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/15fdd790
Branch: refs/heads/master
Commit: 15fdd790ea7d7cd73170536720f2478b9f97156a
Parents: 698732c
Author: Sebb <se...@apache.org>
Authored: Mon Sep 25 14:25:02 2017 +0100
Committer: Sebb <se...@apache.org>
Committed: Mon Sep 25 14:25:02 2017 +0100
----------------------------------------------------------------------
tools/archiver.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/15fdd790/tools/archiver.py
----------------------------------------------------------------------
diff --git a/tools/archiver.py b/tools/archiver.py
index 78db074..cda12a0 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -215,6 +215,8 @@ class Archiver(object):
body = None
firstHTML = None
for part in msg.walk():
+ if args.verbose:
+ print("Content-Type: %s" % part.get_content_type())
"""
Find the first body part and the first HTML part
Note: cannot use break here because firstHTML is needed if len(body) <= 1