From 446c5679c2c4299e6e6766277acf2956779669f1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 28 Jan 2020 12:55:32 -0800 Subject: fix elif syntax error --- python/sandcrawler/ia.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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( -- cgit v1.2.3