mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 06:50:29 +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
|
|
@ -1317,7 +1317,7 @@ def scan_apk_androguard(apk, apkfile):
|
|||
except (FileNotFoundError, zipfile.BadZipFile) as e:
|
||||
logging.error(_("Could not open APK {path} for analysis: ").format(path=apkfile)
|
||||
+ str(e))
|
||||
raise BuildException(_("Invalid APK"))
|
||||
raise BuildException(_("Invalid APK")) from e
|
||||
|
||||
apk['packageName'] = apkobject.get_package()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue