From 27edbd56a77ed38162aefd38a4ded7e029a652ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Mart=C3=AD?= Date: Mon, 1 Sep 2014 10:34:12 +0200 Subject: [PATCH] Discard descriptions longer than one line when checking duplicates --- fdroidserver/lint.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdroidserver/lint.py b/fdroidserver/lint.py index 98482be0..d42efdf7 100644 --- a/fdroidserver/lint.py +++ b/fdroidserver/lint.py @@ -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'])