diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-22 11:48:41 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-02-22 11:48:41 -0800 |
commit | fbbd7f2dc2d4a82d3da9327a7297f47103196544 (patch) | |
tree | 76d6c953b3842fd4273a73a8780c554638f7ecff /python/fatcat_tools/importers/common.py | |
parent | 74c5f30ab878a914d3edb51040f4d78054684947 (diff) | |
download | fatcat-fbbd7f2dc2d4a82d3da9327a7297f47103196544.tar.gz fatcat-fbbd7f2dc2d4a82d3da9327a7297f47103196544.zip |
bunch of lint/whitespace cleanups
Diffstat (limited to 'python/fatcat_tools/importers/common.py')
-rw-r--r-- | python/fatcat_tools/importers/common.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_tools/importers/common.py b/python/fatcat_tools/importers/common.py index 32f7b4d5..b89c3828 100644 --- a/python/fatcat_tools/importers/common.py +++ b/python/fatcat_tools/importers/common.py @@ -111,7 +111,7 @@ def test_make_rel_url(): class EntityImporter: """ Base class for fatcat entity importers. - + The API exposed to record iterator is: push_record(raw_record) @@ -143,7 +143,7 @@ class EntityImporter: eg_extra['git_rev'] = eg_extra.get('git_rev', subprocess.check_output(["git", "describe", "--always"]).strip()).decode('utf-8') eg_extra['agent'] = eg_extra.get('agent', 'fatcat_tools.EntityImporter') - + self.api = api self.bezerk_mode = kwargs.get('bezerk_mode', False) self.edit_batch_size = kwargs.get('edit_batch_size', 100) |