checkupdates: work around multiple package ids

If there are multiple package ids in a build.gradle file and the first
one we don't want, checkupdates would get stuck. Make it ignore any
package id that we don't want so that it can get past that.
This commit is contained in:
Daniel Martí 2015-10-30 19:03:53 +01:00
parent 2de274326a
commit 3ace102bd5
3 changed files with 19 additions and 18 deletions

View file

@ -194,7 +194,7 @@ def main():
paths = common.manifest_paths(root_dir, [])
if paths:
version, vercode, package = common.parse_androidmanifests(paths)
version, vercode, package = common.parse_androidmanifests(paths, app)
if not package:
logging.error("Couldn't find package ID")
sys.exit(1)