mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Return none if no AM.xml paths exist
This commit is contained in:
parent
b395095949
commit
13a8b1fd0a
1 changed files with 3 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue