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

Warn about empty categs

This commit is contained in:
Daniel Martí 2015-05-15 16:54:41 +02:00
parent ac004264f0
commit 7c0228d89c

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