From 08b4d0efae6b572355a4e20b18d31e0692e966a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 19 May 2013 14:54:58 +0200 Subject: [PATCH] Better "No Source Since" wiki format --- fdroidserver/update.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/fdroidserver/update.py b/fdroidserver/update.py index 8631e045..9cd6d166 100644 --- a/fdroidserver/update.py +++ b/fdroidserver/update.py @@ -101,9 +101,9 @@ def update_wiki(apps, apks, verbose=False): wikidata += "We don't have the current version of this app." else: wikidata += "We have the current version of this app." - if len(app['No Source Since']) > 0: - wikidata += "This application has been partially or entirely been missing source code since version " + app['No Source Since'] wikidata += " (Check mode: " + app['Update Check Mode'] + ")\n\n" + if len(app['No Source Since']) > 0: + wikidata += "This application has been partially or entirely been missing source code since version " + app['No Source Since'] + "\n\n" if len(app['Current Version']) > 0: wikidata += "The current (recommended) version is " + app['Current Version'] wikidata += " (version code " + app['Current Version Code'] + ").\n\n" @@ -124,7 +124,7 @@ def update_wiki(apps, apks, verbose=False): wikidata += '\n[[Category:' + wikicat + ']]\n' if len(app['No Source Since']) > 0: - wikidata += '\n[[Category:Apps that are missing source code]]\n' + wikidata += '\n[[Category:Apps missing source code]]\n' elif validapks == 0 and not app['Disabled']: wikidata += '\n[[Category:Apps with no packages]]\n' elif cantupdate and not app['Disabled']: