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/01/20 19:07:25 UTC

incubator-ponymail git commit: list name not normalised when imported

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 95b9ffdf5 -> ef21e7ee8


list name not normalised when imported

This fixes #253

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

Branch: refs/heads/master
Commit: ef21e7ee8c30e9aff314745400c4d13d05431a52
Parents: 95b9ffd
Author: Sebb <se...@apache.org>
Authored: Fri Jan 20 19:07:06 2017 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Jan 20 19:07:06 2017 +0000

----------------------------------------------------------------------
 CHANGELOG.md      | 1 +
 tools/archiver.py | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/ef21e7ee/CHANGELOG.md
----------------------------------------------------------------------
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 2dec525..ea4dd0a 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -127,6 +127,7 @@
 - GUI does not report maxResult truncation correctly (#335)
 - ponymail.js creates/displays dates with no timezone - confusing (#286)
 - Make it clearer when you're not logged in. (#195)
+- list name not normalised when imported (#253)
 
 ## CHANGES in 0.9b:
 

http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/ef21e7ee/tools/archiver.py
----------------------------------------------------------------------
diff --git a/tools/archiver.py b/tools/archiver.py
index fb734e8..c03bf8f 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -238,7 +238,7 @@ class Archiver(object):
 
         ojson = None
         if not lid:
-            lid= msg.get('list-id')
+            lid = normalize_lid(msg.get('list-id'))
         if self.cropout:
             crops = self.cropout.split(" ")
             # Regex replace?