chiark / gitweb /
lint: warn about None category
authorDaniel Martí <mvdan@mvdan.cc>
Sun, 19 Apr 2015 15:04:44 +0000 (17:04 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Sun, 19 Apr 2015 15:04:44 +0000 (17:04 +0200)
fdroidserver/lint.py

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