1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 23:23:27 +02:00

Handle not-found package name gracefully

This commit is contained in:
Ciaran Gultnieks 2015-01-27 07:13:21 +00:00
parent 8c1e1b1d24
commit e26ad377a6

View File

@ -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)