mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-05-24 08:44:54 -04:00
Return none if no AM.xml paths exist
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user