fix "local variable 'e' is assigned to but never used"

This commit is contained in:
Hans-Christoph Steiner 2018-05-25 12:32:34 +02:00
parent 14127bf418
commit fb02073cab
3 changed files with 3 additions and 3 deletions

View file

@ -83,7 +83,7 @@ def main():
logging.info("...retrieving " + url)
try:
net.download_file(url, dldir=tmp_dir)
except requests.exceptions.HTTPError as e:
except requests.exceptions.HTTPError:
try:
net.download_file(url.replace('/repo', '/archive'), dldir=tmp_dir)
except requests.exceptions.HTTPError as e: