From c3d2fa0d89a65d6fed66b0b7da64195e51101bf7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 17 Nov 2020 19:50:57 -0800 Subject: tweak DOAJ importer class args and default for do_updates --- python/fatcat_tools/importers/doaj_article.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python/fatcat_tools/importers') diff --git a/python/fatcat_tools/importers/doaj_article.py b/python/fatcat_tools/importers/doaj_article.py index c0e75283..30007857 100644 --- a/python/fatcat_tools/importers/doaj_article.py +++ b/python/fatcat_tools/importers/doaj_article.py @@ -23,8 +23,6 @@ class DoajArticleImporter(EntityImporter): def __init__(self, api, issn_map_file, - debug=False, - insert_log_file=None, **kwargs): eg_desc = kwargs.get( @@ -34,6 +32,8 @@ class DoajArticleImporter(EntityImporter): eg_extra = kwargs.get('editgroup_extra', dict()) eg_extra['agent'] = eg_extra.get('agent', 'fatcat_tools.DoajArticleImporter') + # ensure default is to not do updates with this worker (override super() default) + kwargs['do_updates'] = kwargs.get("do_updates", False) super().__init__(api, issn_map_file=issn_map_file, editgroup_description=eg_desc, -- cgit v1.2.3