1
0
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:
Daniel Martí 2014-09-01 10:34:12 +02:00
parent b5c363b6c8
commit 27edbd56a7

View File

@ -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'])