1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-05 18:50:09 +02:00

Extra debug logging when parsing manifests

This commit is contained in:
Ciaran Gultnieks 2015-01-10 15:15:23 +00:00
parent 1fa6ecc1eb
commit 1cc1ee32ee

View File

@ -987,6 +987,7 @@ def parse_androidmanifests(paths, ignoreversions=None):
for path in paths:
logging.debug("Parsing manifest at {0}".format(path))
gradle = has_extension(path, 'gradle')
version = None
vercode = None
@ -1016,6 +1017,9 @@ def parse_androidmanifests(paths, ignoreversions=None):
if matches:
vercode = matches.group(1)
logging.debug("..got package={0}, version={1}, vercode={2}"
.format(package, version, vercode))
# Always grab the package name and version name in case they are not
# together with the highest version code
if max_package is None and package is not None: