diff options
-rw-r--r-- | python/fatcat_tools/harvest/pubmed.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_tools/harvest/pubmed.py b/python/fatcat_tools/harvest/pubmed.py index 118580db..d904144b 100644 --- a/python/fatcat_tools/harvest/pubmed.py +++ b/python/fatcat_tools/harvest/pubmed.py @@ -314,6 +314,7 @@ def ftpretr( time.sleep(retry_delay) else: return f.name + assert False, "Unreachable code branch" def ftpretr_via_http_proxy( @@ -348,6 +349,7 @@ def ftpretr_via_http_proxy( if i + 1 == max_retries: raise time.sleep(retry_delay) + assert False, "Unreachable code branch" def xmlstream(filename: str, tag: str, encoding: str = "utf-8") -> Generator[Any, Any, Any]: |