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/07 23:48:24 UTC
incubator-ponymail git commit: Drop the print end param. The syntax
causes the Eclipse editor to barf
Repository: incubator-ponymail
Updated Branches:
refs/heads/master e06fa5014 -> 3a5cd54b5
Drop the print end param. The syntax causes the Eclipse editor to barf
No idea why, but it stops it showing the outline and other useful info.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/commit/3a5cd54b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/tree/3a5cd54b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ponymail/diff/3a5cd54b
Branch: refs/heads/master
Commit: 3a5cd54b5f12bc94e23194c3b3f5a81ca3c092cb
Parents: e06fa50
Author: Sebb <se...@apache.org>
Authored: Mon Nov 7 23:48:08 2016 +0000
Committer: Sebb <se...@apache.org>
Committed: Mon Nov 7 23:48:08 2016 +0000
----------------------------------------------------------------------
tools/import-mbox.py | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-ponymail/blob/3a5cd54b/tools/import-mbox.py
----------------------------------------------------------------------
diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 6014b32..7fba8bc 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -416,17 +416,17 @@ if args.timeout:
baddies = 0
# No point continuing if the index does not exist
-print("Checking that the database index %s exists ... " % dbname, end='')
+print("Checking that the database index %s exists ... " % dbname)
# elasticsearch logs lots of warnings on retries/connection failure
import logging
logging.getLogger("elasticsearch").setLevel(logging.ERROR)
try:
if not es.indices.exists(dbname):
- print("\nError: the index '%s' does not exist!" % (dbname))
+ print("Error: the index '%s' does not exist!" % (dbname))
sys.exit(1)
except Exception as err:
- print("\nError: unable to check if the index %s exists!: %s" % (dbname, err))
+ print("Error: unable to check if the index %s exists!: %s" % (dbname, err))
sys.exit(1)
print("Database exists OK")