chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b5c363b
)
Discard descriptions longer than one line when checking duplicates
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 1 Sep 2014 08:34:12 +0000
(10:34 +0200)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 1 Sep 2014 08:34:12 +0000
(10:34 +0200)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 98482be0cfb1f8988cc1880aa31d13c27f28b52f..d42efdf72feba7c90d72941c68874c2e8c5d3180 100644
(file)
--- 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'])