You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ponymail.apache.org by hu...@apache.org on 2020/08/14 18:03:02 UTC

[incubator-ponymail-foal] branch master updated: Default to what is in the configuration instead of 'full'.

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

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


The following commit(s) were added to refs/heads/master by this push:
     new f8c6895  Default to what is in the configuration instead of 'full'.
f8c6895 is described below

commit f8c6895e6fdf23097c2032f13959e756b86dae5f
Author: Daniel Gruno <hu...@apache.org>
AuthorDate: Fri Aug 14 20:02:39 2020 +0200

    Default to what is in the configuration instead of 'full'.
---
 tools/archiver.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/archiver.py b/tools/archiver.py
index c3c5f46..e01e4a4 100755
--- a/tools/archiver.py
+++ b/tools/archiver.py
@@ -212,7 +212,7 @@ class Archiver(object):  # N.B. Also used by import-mbox.py
                     kwargs["wait_for_active_shards"] = self.wait_for_active_shards
         return self.es.index(**kwargs)
 
-    def __init__(self, generator="full", parse_html=False, dump_dir=None):
+    def __init__(self, generator=archiver_generator, parse_html=False, dump_dir=None):
         """ Just initialize ES. """
         self.html = parse_html
         self.generator = generator