chiark / gitweb /
Fix wiki formatting when we have the current version
authorCiaran Gultnieks <ciaran@ciarang.com>
Fri, 14 Sep 2012 22:15:28 +0000 (23:15 +0100)
committerCiaran Gultnieks <ciaran@ciarang.com>
Fri, 14 Sep 2012 22:15:28 +0000 (23:15 +0100)
fdroidserver/update.py

index 4f20ea8448f7fc5031edc87a375e2d9dcd64dafd..89cb167672750f9efca0b5a8589bed2f6dabef78 100644 (file)
@@ -96,6 +96,8 @@ def update_wiki(apps, apks, verbose=False):
             wikidata += "We currently have no versions of this app available."
         elif not gotcurrentver:
             wikidata += "We don't have the current version of this app."
+        else:
+            wikidata += "We have the current version of this app."
         wikidata += " (Check mode: " + app['Update Check Mode'] + ")\n\n"
         if len(app['Current Version']) > 0:
             wikidata += "The current (recommended) version is " + app['Current Version']