1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-04 02:00:11 +02:00

For convenience - source-built app with missing current versions gives source link, not web link

This commit is contained in:
Ciaran Gultnieks 2011-01-27 21:22:19 +00:00
parent 635555827d
commit bbe4f83d30

View File

@ -333,8 +333,12 @@ for app in apps:
warnings += 1 warnings += 1
if not gotmarketver and app['marketvercode'] != '0': if not gotmarketver and app['marketvercode'] != '0':
if app['usebuilt']:
addr = app['source']
else:
addr = app['web']
print "WARNING: Don't have market version (" + app['marketversion'] + ") of " + app['name'] print "WARNING: Don't have market version (" + app['marketversion'] + ") of " + app['name']
print " (" + app['id'] + ") " + app['web'] print " (" + app['id'] + ") " + addr
warnings += 1 warnings += 1
if options.verbose: if options.verbose:
# A bit of extra debug info, basically for diagnosing # A bit of extra debug info, basically for diagnosing