diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-01-28 13:04:33 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-01-28 13:04:33 -0800 |
commit | f22390203f03907f3a49ff9a24fb1a5ec40c65f1 (patch) | |
tree | 2e791518e8c8700a739f19793f6dd0eeb506cdae | |
parent | 446c5679c2c4299e6e6766277acf2956779669f1 (diff) | |
download | sandcrawler-f22390203f03907f3a49ff9a24fb1a5ec40c65f1.tar.gz sandcrawler-f22390203f03907f3a49ff9a24fb1a5ec40c65f1.zip |
fix WaybackError exception formating
-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 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, |