From bbe4f83d307faef2e8564f6aac7749ab8ed9be92 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Thu, 27 Jan 2011 21:22:19 +0000 Subject: [PATCH] For convenience - source-built app with missing current versions gives source link, not web link --- update.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/update.py b/update.py index 4a2932d4..5449e01b 100644 --- a/update.py +++ b/update.py @@ -333,8 +333,12 @@ for app in apps: warnings += 1 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 " (" + app['id'] + ") " + app['web'] + print " (" + app['id'] + ") " + addr warnings += 1 if options.verbose: # A bit of extra debug info, basically for diagnosing -- 2.30.2