diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-01-28 12:55:32 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-01-28 12:55:32 -0800 |
commit | 446c5679c2c4299e6e6766277acf2956779669f1 (patch) | |
tree | a224ea7b46391445bffa3e9704dce3ba04c1184d /python | |
parent | b9237268c61777a28f5d8e512b326337715aab44 (diff) | |
download | sandcrawler-446c5679c2c4299e6e6766277acf2956779669f1.tar.gz sandcrawler-446c5679c2c4299e6e6766277acf2956779669f1.zip |
fix elif syntax error
Diffstat (limited to 'python')
-rw-r--r-- | python/sandcrawler/ia.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index 9bed59d..ea79927 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -341,7 +341,7 @@ class WaybackClient: except IncompleteRead as ire: raise WaybackError( "failed to read actual file contents from wayback/petabox (IncompleteRead: {})".format(ire)) - else if status_code is None: + elif status_code is None: raise WaybackError( "got a None status_code in (W)ARC record".format(ire)) return WarcResource( |