From 504163b170b626ecc289a5eed5439b89433555ff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Sun, 19 Apr 2015 17:04:44 +0200 Subject: [PATCH] lint: warn about None category --- fdroidserver/lint.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 7caab1a1..de4a2d1b 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -195,6 +195,10 @@ def main(): if app['Web Site'].lower() == app['Source Code'].lower(): warn("Website '%s' is just the app's source code link" % app['Web Site']) + # "None" still a category + if 'None' in app['Categories']: + warn("Category 'None' is is still present") + name = app['Name'] or app['Auto Name'] if app['Summary'] and name: if app['Summary'].lower() == name.lower():