mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-10 09:10:30 +03:00
explicitly re-raising exceptions
To fix pylint.
This commit is contained in:
parent
2d0645c1c4
commit
4ce79a7eaa
7 changed files with 22 additions and 22 deletions
|
|
@ -221,7 +221,7 @@ def main():
|
|||
net.download_file(url.replace('/repo', '/archive'), dldir=tmp_dir)
|
||||
except requests.exceptions.HTTPError as e:
|
||||
raise FDroidException(_('Downloading {url} failed. {error}')
|
||||
.format(url=url, error=e))
|
||||
.format(url=url, error=e)) from e
|
||||
|
||||
unsigned_apk = os.path.join(unsigned_dir, apkfilename)
|
||||
compare_result = common.verify_apks(remote_apk, unsigned_apk, tmp_dir)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue