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 2020/08/24 14:54:28 UTC

[incubator-ponymail] branch master updated: Add generator type and strip msg id

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 7afe72d  Add generator type and strip msg id
7afe72d is described below

commit 7afe72de732bae8db091ba3ba3979ca28b77a718
Author: Sebb <se...@apache.org>
AuthorDate: Mon Aug 24 15:54:16 2020 +0100

    Add generator type and strip msg id
---
 tools/archiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index 5c9b41b..a6844f5 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -375,7 +375,7 @@ class Archiver(object): # N.B. Also used by import-mbox.py
             except Exception as err:
                 if logger:
                     # N.B. use .get just in case there is no message-id
-                    logger.warning("Could not generate MID: %s. MSGID: %s", err, msg_metadata.get('message-id', '?'))
+                    logger.warning("Could not generate MID using %s: %s. MSGID: %s", self.generator, err, msg_metadata.get('message-id', '?').strip())
                 mid = pmid
 
             if 'in-reply-to' in msg_metadata: