aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-01-28 13:04:33 -0800
committerBryan Newbold <bnewbold@archive.org>2020-01-28 13:04:33 -0800
commitf22390203f03907f3a49ff9a24fb1a5ec40c65f1 (patch)
tree2e791518e8c8700a739f19793f6dd0eeb506cdae
parent446c5679c2c4299e6e6766277acf2956779669f1 (diff)
downloadsandcrawler-f22390203f03907f3a49ff9a24fb1a5ec40c65f1.tar.gz
sandcrawler-f22390203f03907f3a49ff9a24fb1a5ec40c65f1.zip
fix WaybackError exception formating
-rw-r--r--python/sandcrawler/ia.py2
1 files changed, 1 insertions, 1 deletions
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,