mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-09 00:40:11 +01:00
Discard descriptions longer than one line when checking duplicates
This commit is contained in:
parent
b5c363b6c8
commit
27edbd56a7
@ -196,7 +196,7 @@ def main():
|
||||
if app['Summary'].lower() == name.lower():
|
||||
warn("Summary '%s' is just the app's name" % app['Summary'])
|
||||
|
||||
if app['Summary'] and app['Description']:
|
||||
if app['Summary'] and app['Description'] and len(app['Description']) == 1:
|
||||
if app['Summary'].lower() == app['Description'][0].lower():
|
||||
warn("Description '%s' is just the app's summary" % app['Summary'])
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user