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 2018/05/25 18:12:21 UTC

[incubator-ponymail] branch master updated: Let the archiver import the module if it needs it

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 8898c16  Let the archiver import the module if it needs it
8898c16 is described below

commit 8898c16ec49b13786760672dcc391f66e8d9e4dc
Author: Sebb <se...@apache.org>
AuthorDate: Fri May 25 19:12:20 2018 +0100

    Let the archiver import the module if it needs it
---
 tools/import-mbox.py | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/import-mbox.py b/tools/import-mbox.py
index 818a46a..1ca9d4a 100755
--- a/tools/import-mbox.py
+++ b/tools/import-mbox.py
@@ -37,7 +37,6 @@ import gzip
 
 try:
     from elasticsearch import Elasticsearch, helpers
-    from formatflowed import convertToWrapped # only needed by archiver
 except ImportError as err:
     print("Sorry, you need to install the elasticsearch and formatflowed modules from pip first.",err)
     sys.exit(-1)
@@ -443,7 +442,6 @@ if args.dedup:
 if args.ext:
     extension = args.ext[0]
 if args.html2text:
-    import html2text # needed by archiver
     parseHTML = True
 if args.ibody:
     archiver.iBody = args.ibody[0]

-- 
To stop receiving notification emails like this one, please contact
sebb@apache.org.