From 7c0228d89c607aedbbe2e1e7b9a0b04dc8da72cc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Mart=C3=AD?= Date: Fri, 15 May 2015 16:54:41 +0200 Subject: [PATCH] Warn about empty categs --- fdroidserver/lint.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index de4a2d1b..379dd562 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -198,6 +198,8 @@ def main(): # "None" still a category if 'None' in app['Categories']: warn("Category 'None' is is still present") + elif not app['Categories']: + warn("Categories are not set") name = app['Name'] or app['Auto Name'] if app['Summary'] and name: -- 2.30.2