From f22390203f03907f3a49ff9a24fb1a5ec40c65f1 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 28 Jan 2020 13:04:33 -0800 Subject: fix WaybackError exception formating --- 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 ea79927..af92035 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -343,7 +343,7 @@ class WaybackClient: "failed to read actual file contents from wayback/petabox (IncompleteRead: {})".format(ire)) elif status_code is None: raise WaybackError( - "got a None status_code in (W)ARC record".format(ire)) + "got a None status_code in (W)ARC record") return WarcResource( status_code=status_code, location=location, -- cgit v1.2.3