Improve checkupdates regex, support quotes better for build.gradle

This commit is contained in:
Daniel Martí 2014-01-07 10:04:11 +01:00
parent 525fc14407
commit 7f6761c436
2 changed files with 9 additions and 5 deletions

View file

@ -197,7 +197,11 @@ def check_repomanifest(app, branch=None):
if not vercode:
return (None,"Couldn't find latest version code")
return (version, str(int(vercode)))
vercode = str(int(vercode))
print "Manifest exists. Found version %s (%s)" % (version, vercode)
return (version, vercode)
except BuildException as be:
msg = "Could not scan app %s due to BuildException: %s" % (app['id'], be)