mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Handle not-found package name gracefully
This commit is contained in:
parent
8c1e1b1d24
commit
e26ad377a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue