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 2020/03/18 14:33:03 UTC

[incubator-ponymail] branch master updated: Just in case

This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-ponymail.git


The following commit(s) were added to refs/heads/master by this push:
     new 6c2de07  Just in case
6c2de07 is described below

commit 6c2de074d58d0d8476d26ed0a91cbc6952ca5c6f
Author: Sebb <se...@apache.org>
AuthorDate: Wed Mar 18 14:32:55 2020 +0000

    Just in case
---
 tools/import-mbox.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 86d91eb..3cc7206 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -287,7 +287,7 @@ class SlurpThread(Thread):
                     count += 1
                     ja.append(json)
                     jas.append(json_source)
-                    if args.verbose:
+                    if args.verbose and verbose_logger:
                         # TODO optionally show other fields (e.g. From_ line)
                         verbose_logger.info("MID:%(mid)s MSGID:%(message-id)s" , json)
                     if contents: