ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From humbed...@apache.org
Subject [2/3] incubator-ponymail git commit: find List ID if not passed
Date Wed, 13 Jul 2016 11:36:53 GMT
find List ID if not passed

import-mbox doesn't seem to pass List ID unless
specified via CLI. Make compute_updates determine
it if not set.


Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/205ce05b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/205ce05b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/205ce05b

Branch: refs/heads/0.9
Commit: 205ce05bf89539803425d45facd46c44c9b9c6f3
Parents: c20fc79
Author: Daniel Gruno <humbedooh@apache.org>
Authored: Wed Jul 13 13:29:31 2016 +0200
Committer: Daniel Gruno <humbedooh@apache.org>
Committed: Wed Jul 13 13:29:31 2016 +0200

----------------------------------------------------------------------
 tools/archiver.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/205ce05b/tools/archiver.py
----------------------------------------------------------------------
diff --git a/tools/archiver.py b/tools/archiver.py
index b3e87d8..d8efc5f 100644
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -232,7 +232,8 @@ class Archiver(object):
         """
 
         ojson = None
-
+        if not lid:
+            lid= msg.get('list-id')
         if self.cropout:
             crops = self.cropout.split(" ")
             # Regex replace?


Mime
View raw message