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