Fix naming of current version fields in metadata

This commit is contained in:
Ciaran Gultnieks 2012-01-26 17:53:59 +00:00
parent 887d068c7d
commit b7176d1852
226 changed files with 647 additions and 444 deletions

View file

@ -92,12 +92,12 @@ for app in apps:
if not version:
print "..." + vercode
elif vercode == app['Market Version Code'] and version == app['Market Version']:
elif vercode == app['Current Version Code'] and version == app['Current Version']:
print "...up to date"
else:
print '...updating to version:' + version + ' vercode:' + vercode
app['Market Version'] = version
app['Market Version Code'] = vercode
app['Current Version'] = version
app['Current Version Code'] = vercode
metafile = os.path.join('metadata', app['id'] + '.txt')
common.write_metadata(metafile, app)