diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-17 19:50:57 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-11-19 14:55:15 -0800 |
commit | c3d2fa0d89a65d6fed66b0b7da64195e51101bf7 (patch) | |
tree | 9ee6ecd9d49a779f2d9b902394e89d1e31f7804f /python | |
parent | 30fb9af4ba786cabd19bf4693eb8a0395669f54f (diff) | |
download | fatcat-c3d2fa0d89a65d6fed66b0b7da64195e51101bf7.tar.gz fatcat-c3d2fa0d89a65d6fed66b0b7da64195e51101bf7.zip |
tweak DOAJ importer class args and default for do_updates
Diffstat (limited to 'python')
-rw-r--r-- | python/fatcat_tools/importers/doaj_article.py | 4 |
1 files changed, 2 insertions, 2 deletions
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, |