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:
19a281d
)
lint: fixed list false positives, no need for utf
author
Daniel Martí
<mvdan@mvdan.cc>
Mon, 31 Aug 2015 22:39:07 +0000
(15:39 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Mon, 31 Aug 2015 22:39:07 +0000
(15:39 -0700)
fdroidserver/lint.py
patch
|
blob
|
history
diff --git
a/fdroidserver/lint.py
b/fdroidserver/lint.py
index 4599106434d28f3f7483c9d6f606d1a9b290b84e..123ed688c71759bef6249911333661eecf49269c 100644
(file)
--- a/
fdroidserver/lint.py
+++ b/
fdroidserver/lint.py
@@
-284,14
+284,13
@@
def main():
lcount = 0
continue
- ld = l.decode('utf-8')
- if ld[0] == lchar and ld[1] == ' ':
+ if l[0] == lchar and l[1] == ' ':
lcount += 1
if lcount > 2 and lchar not in validchars:
warn("Description has a list (%s) but it isn't bulleted (*) nor numbered (#)" % lchar)
break
else:
- lchar = l
d
[0]
+ lchar = l[0]
lcount = 1
# Regex checks in all kinds of fields