You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2016/07/13 11:36:53 UTC

[2/3] incubator-ponymail git commit: find List ID if not passed

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 <hu...@apache.org>
Authored: Wed Jul 13 13:29:31 2016 +0200
Committer: Daniel Gruno <hu...@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?