mirror of
https://github.com/f-droid/fdroidserver.git
synced 2026-10-27 22:54:42 -04:00
Return none if no AM.xml paths exist
This commit is contained in:
1 parent
b395095949
commit
13a8b1fd0a
1 file changed
+3
@@ -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