mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
fix "local variable 'e' is assigned to but never used"
This commit is contained in:
parent
14127bf418
commit
fb02073cab
3 changed files with 3 additions and 3 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue