1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-04 14:30:11 +01:00

real name can't be None

This commit is contained in:
Daniel Martí 2013-06-12 12:05:55 +02:00
parent a452cdb704
commit ed64737678

View File

@ -885,9 +885,12 @@ def fetch_real_name(app_dir):
matches = string_search(line)
if matches:
name2 = matches.group(1)
return name2
if name2 is not None:
return name2
return name
if name is not None:
return name
return ''
# Extract some information from the AndroidManifest.xml at the given path.
# Returns (version, vercode, package), any or all of which might be None.