chiark / gitweb /
Warn about empty categs
authorDaniel Martí <mvdan@mvdan.cc>
Fri, 15 May 2015 14:54:41 +0000 (16:54 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Fri, 15 May 2015 15:09:21 +0000 (17:09 +0200)
fdroidserver/lint.py

index de4a2d1bb72756c2d8f12c5a12273eb5d199bb1a..379dd5625e317248369b4eba7472bb0833623e09 100644 (file)
@@ -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: