ponymail-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject incubator-ponymail git commit: Fix double counting error
Date Mon, 31 Oct 2016 17:02:37 GMT
Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 4c80c49ab -> 3d0e41976


Fix double counting error

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

Branch: refs/heads/master
Commit: 3d0e419761356052e61fd86d7bf5ccb07acaef79
Parents: 4c80c49
Author: Sebb <sebb@apache.org>
Authored: Mon Oct 31 17:02:18 2016 +0000
Committer: Sebb <sebb@apache.org>
Committed: Mon Oct 31 17:02:18 2016 +0000

----------------------------------------------------------------------
 tools/import-mbox.py | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/3d0e4197/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index b34d60c..4c14db0 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -177,7 +177,6 @@ class SlurpThread(Thread):
                 block.release()
                 return
             block.release()
-            y += 1
             EY = 1980
             EM = 1
             stime = time.time()
@@ -185,7 +184,6 @@ class SlurpThread(Thread):
             if maildir:
                 messages = mailbox.Maildir(tmpname)
             elif imap:
-                y -= 1 # TODO don't understand the increment above
                 imap4 = mla[2]
                 def mailgen(list):
                     for uid in list:


Mime
View raw message