diff options
author | Martin Czygan <martin@archive.org> | 2021-05-28 20:18:46 +0000 |
---|---|---|
committer | Martin Czygan <martin@archive.org> | 2021-05-28 20:18:46 +0000 |
commit | 6a0a25e219f39530efeefd136c7abc298c89388d (patch) | |
tree | 1e318f5251429df0d2d7a8649beb57bfb0fe81b3 /python/fatcat_tools/harvest | |
parent | a7a3cc1f8de8f38d98cf878282bd26ec4d76771f (diff) | |
parent | 064b05a2f49138a1708416b9fc1ac25c29a858ef (diff) | |
download | fatcat-6a0a25e219f39530efeefd136c7abc298c89388d.tar.gz fatcat-6a0a25e219f39530efeefd136c7abc298c89388d.zip |
Merge branch 'bnewbold-lint-fixes' into 'master'
various lint fixes; should un-break CI
See merge request webgroup/fatcat!106
Diffstat (limited to 'python/fatcat_tools/harvest')
-rw-r--r-- | python/fatcat_tools/harvest/doi_registrars.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_tools/harvest/doi_registrars.py b/python/fatcat_tools/harvest/doi_registrars.py index 03773c15..553f4e7a 100644 --- a/python/fatcat_tools/harvest/doi_registrars.py +++ b/python/fatcat_tools/harvest/doi_registrars.py @@ -143,7 +143,7 @@ class HarvestCrossrefWorker: # Datacite API returned HTTP 200, but JSON seemed unparseable. # It might be a glitch, so we retry. print("failed to decode body from {}: {}".format(http_resp.url, resp_body), file=sys.stderr) - raise + raise exc items = self.extract_items(resp) count += len(items) print("... got {} ({} of {}), HTTP fetch took {}".format(len(items), count, |