From: Ciaran Gultnieks Date: Sun, 23 Jan 2011 22:03:46 +0000 (+0000) Subject: Correction to previous commit X-Git-Tag: 0.1~1514 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=25972a37888984ddc1b70e3518aaa302bf830206;p=fdroidserver.git Correction to previous commit --- diff --git a/update.py b/update.py index d07a1a38..5a6ef4e9 100644 --- a/update.py +++ b/update.py @@ -244,6 +244,7 @@ for app in apps: if app['disabled'] is None: # Get a list of the apks for this app... + gotmarketver = False apklist = [] for apk in apks: if apk['id'] == app['id']: @@ -275,8 +276,6 @@ for app in apps: if not (app['antifeatures'] is None): addElement('antifeatures', app['antifeatures'], doc, apel) - gotmarketver = False - # Sort the apk list into version order, just so the web site # doesn't have to do any work by default... apklist = sorted(apklist, key=lambda apk: apk['versioncode'], reverse=True)