1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-09-11 15:13:27 +02:00

lint: warn about None category

This commit is contained in:
Daniel Martí 2015-04-19 17:04:44 +02:00
parent 74f12ab641
commit 504163b170

View 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():