diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-22 16:10:49 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2020-05-22 16:10:52 -0700 |
commit | d8cf02dbdc6848be4de2710e54f4463d702b6e7c (patch) | |
tree | bd40d1458397ed5aa539af70551148bb6403f20f /python/fatcat_tools/importers/pubmed.py | |
parent | 50023c3a6dbbac3da8cbf444ef5b5e47850394e0 (diff) | |
download | fatcat-d8cf02dbdc6848be4de2710e54f4463d702b6e7c.tar.gz fatcat-d8cf02dbdc6848be4de2710e54f4463d702b6e7c.zip |
importers: clarify handling of ApiException
One of these (in ingest importer pipeline) is an actual bug, the others
are just changing the syntax to be more explicit/conservative.
The ingest importer bug seems to have resulted in some bad file match
imports; scale of impact is unknown.
Diffstat (limited to 'python/fatcat_tools/importers/pubmed.py')
-rw-r--r-- | python/fatcat_tools/importers/pubmed.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/python/fatcat_tools/importers/pubmed.py b/python/fatcat_tools/importers/pubmed.py index abcb21d9..3d3e3a8c 100644 --- a/python/fatcat_tools/importers/pubmed.py +++ b/python/fatcat_tools/importers/pubmed.py @@ -782,6 +782,7 @@ class PubmedImporter(EntityImporter): # NOTE: API behavior might change in the future? if "release_edit_editgroup_id_ident_id_key" in err.body: self.counts['skip-update-conflict'] += 1 + return False else: raise err finally: |