mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Handle not-found package name gracefully
This commit is contained in:
parent
8c1e1b1d24
commit
e26ad377a6
@ -1055,7 +1055,7 @@ def parse_androidmanifests(paths, ignoreversions=None):
|
||||
if max_version is None:
|
||||
max_version = "Unknown"
|
||||
|
||||
if not is_valid_package_name(max_package):
|
||||
if max_package and not is_valid_package_name(max_package):
|
||||
raise FDroidException("Invalid package name {0}".format(max_package))
|
||||
|
||||
return (max_version, max_vercode, max_package)
|
||||
|
Loading…
Reference in New Issue
Block a user