1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-20 13:50:12 +01:00

lint: complain about useless Name: fields

This commit is contained in:
Daniel Martí 2015-06-07 14:03:15 +02:00
parent 4db4a86420
commit 5f894f1d38

View File

@ -170,6 +170,9 @@ def main():
elif not app['Categories']: elif not app['Categories']:
warn("Categories are not set") warn("Categories are not set")
if app['Name'] and app['Name'] == app['Auto Name']:
warn("Name '%s' is just the auto name" % app['Name'])
name = app['Name'] or app['Auto Name'] name = app['Name'] or app['Auto Name']
if app['Summary'] and name: if app['Summary'] and name:
if app['Summary'].lower() == name.lower(): if app['Summary'].lower() == name.lower():