mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
Return none if no AM.xml paths exist
This commit is contained in:
parent
b395095949
commit
13a8b1fd0a
@ -910,6 +910,9 @@ def fetch_real_name(app_dir, flavour):
|
||||
# All values returned are strings.
|
||||
def parse_androidmanifests(paths):
|
||||
|
||||
if not paths:
|
||||
return (None, None, None)
|
||||
|
||||
vcsearch = re.compile(r'.*android:versionCode="([0-9]+?)".*').search
|
||||
vnsearch = re.compile(r'.*android:versionName="([^"]+?)".*').search
|
||||
psearch = re.compile(r'.*package="([^"]+)".*').search
|
||||
|
Loading…
Reference in New Issue
Block a user