chiark / gitweb /
Add wiki category for disabled apps (issue #163)
authorCiaran Gultnieks <ciaran@ciarang.com>
Wed, 23 Oct 2013 12:19:33 +0000 (13:19 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Wed, 23 Oct 2013 12:19:50 +0000 (13:19 +0100)
fdroidserver/update.py

index 33c4e68d182b9e5d12cf61c3f592050de0323345..53269a53adbd10065691756fb16ae5129f093a69 100644 (file)
@@ -152,7 +152,9 @@ def update_wiki(apps, apks, verbose=False):
             wikidata += "\n[[Category:Apps with failing builds]]\n"
         elif not gotcurrentver and not app['Disabled']:
             wikidata += '\n[[Category:Apps to Update]]\n'
-        if app['Update Check Mode'] == 'None':
+        if app['Disabled']:
+            wikidata += '\n[[Category:Apps that are disabled]]\n'
+        if app['Update Check Mode'] == 'None' and not app['Disabled']:
             wikidata += '\n[[Category:Apps with no update check]]\n'
 
         # We can't have underscores in the page name, even if they're in