From e26ad377a62065f243126e78808790c1888049bc Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 27 Jan 2015 07:13:21 +0000 Subject: [PATCH] Handle not-found package name gracefully --- fdroidserver/common.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/common.py b/fdroidserver/common.py index 56d05bd1..c1962f8d 100644 --- a/fdroidserver/common.py +++ b/fdroidserver/common.py @@ -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)