diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-10-26 13:54:35 -0700 |
commit | 02cac8f857fe21474ab25aa7150bed2ac5b970d5 (patch) | |
tree | 5163390339c446257f4240579e14e81588fd3632 /python/sandcrawler/ia.py | |
parent | 6650f3862b87bdeac4f3bb9d3561f934858956a0 (diff) | |
download | sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.tar.gz sandcrawler-02cac8f857fe21474ab25aa7150bed2ac5b970d5.zip |
flake8 clean (with current settings)
Diffstat (limited to 'python/sandcrawler/ia.py')
-rw-r--r-- | python/sandcrawler/ia.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/sandcrawler/ia.py b/python/sandcrawler/ia.py index fe739bb..9d990bf 100644 --- a/python/sandcrawler/ia.py +++ b/python/sandcrawler/ia.py @@ -18,7 +18,7 @@ import requests import urllib3.exceptions # not sure this will really work. Should go before wayback imports. -http.client._MAXHEADERS = 1000 # noqa +http.client._MAXHEADERS = 1000 # type: ignore import wayback.exception from gwb.loader import CDXLoaderFactory3 @@ -1153,7 +1153,7 @@ class SavePageNowClient: url=cdx_row.url, datetime=cdx_row.datetime, ) - except (WaybackError, WaybackContentError) as we: + except (WaybackError, WaybackContentError): return ResourceResult( start_url=start_url, hit=False, |