mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-10-04 00:11:05 +03:00
build: actually raise exception when ndk: entry is invalid
pylint said: fdroidserver/common.py:4238:8: W0133: Exception statement has no effect (pointless-exception-statement)
This commit is contained in:
parent
bf5e65dd24
commit
4295d254f9
1 changed files with 2 additions and 2 deletions
|
@ -4239,7 +4239,7 @@ def auto_install_ndk(build):
|
|||
for n in ndk:
|
||||
_install_ndk(n)
|
||||
else:
|
||||
BuildException(_('Invalid ndk: entry in build: "{ndk}"')
|
||||
raise BuildException(_('Invalid ndk: entry in build: "{ndk}"')
|
||||
.format(ndk=str(ndk)))
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue