chiark / gitweb /
Correction to previous commit
authorCiaran Gultnieks <ciaran@ciarang.com>
Sun, 23 Jan 2011 22:03:46 +0000 (22:03 +0000)
committerCiaran Gultnieks <ciaran@ciarang.com>
Sun, 23 Jan 2011 22:03:46 +0000 (22:03 +0000)
update.py

index d07a1a381a21df732e1a620f4d92d66459c3fff8..5a6ef4e9e3e96a6428c021af30a68739ef0b59d7 100644 (file)
--- 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)