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 2016/11/04 03:06:02 UTC

incubator-ponymail git commit: Typos, the module is helpers, not eshelper

Repository: incubator-ponymail
Updated Branches:
  refs/heads/master 1f731d83b -> 5cbb28388


Typos, the module is helpers, not eshelper

[Props to Pylint]

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

Branch: refs/heads/master
Commit: 5cbb2838875c844ec41ac2b4f9ef439b3fe90b0b
Parents: 1f731d8
Author: Sebb <se...@apache.org>
Authored: Fri Nov 4 03:05:53 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Fri Nov 4 03:05:53 2016 +0000

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


http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/5cbb2838/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index f9bd4aa..a39f4d7 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -569,11 +569,11 @@ elif re.match(r"imaps?://", source):
             print("deleting: " + mid)
 
     while len(queue1) > 0:
-        eshelper.bulk(es, queue1[0:1024])
+        helpers.bulk(es, queue1[0:1024])
         del queue1[0:1024]
 
     while len(queue2) > 0:
-        eshelper.bulk(es, queue2[0:1024])
+        helpers.bulk(es, queue2[0:1024])
         del queue2[0:1024]
 
     # add new items to elasticsearch from imap