mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-04 14:30:11 +01:00
lint: warn about None category
This commit is contained in:
parent
74f12ab641
commit
504163b170
@ -195,6 +195,10 @@ def main():
|
|||||||
if app['Web Site'].lower() == app['Source Code'].lower():
|
if app['Web Site'].lower() == app['Source Code'].lower():
|
||||||
warn("Website '%s' is just the app's source code link" % app['Web Site'])
|
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']
|
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():
|
||||||
|
Loading…
Reference in New Issue
Block a user