chiark / gitweb /
Discard descriptions longer than one line when checking duplicates
authorDaniel Martí <mvdan@mvdan.cc>
Mon, 1 Sep 2014 08:34:12 +0000 (10:34 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Mon, 1 Sep 2014 08:34:12 +0000 (10:34 +0200)
fdroidserver/lint.py

index 98482be0cfb1f8988cc1880aa31d13c27f28b52f..d42efdf72feba7c90d72941c68874c2e8c5d3180 100644 (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'])