From: Daniel Martí Date: Mon, 1 Sep 2014 08:34:12 +0000 (+0200) Subject: Discard descriptions longer than one line when checking duplicates X-Git-Tag: 0.3.0~68 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=27edbd56a77ed38162aefd38a4ded7e029a652ae;p=fdroidserver.git Discard descriptions longer than one line when checking duplicates --- 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'])