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:
bb2598d
)
Line numbers start at 1, not 0
author
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Aug 2015 17:30:27 +0000
(10:30 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Fri, 14 Aug 2015 17:30:27 +0000
(10:30 -0700)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index e775e846bea05bef1a4e4b24d53c37517c2fa6b7..2f18f7f504325faa2196c8dfb4bb5943dea65ebb 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1602,7
+1602,7
@@
def scan_source(build_dir, root_dir, thisbuild):
continue
for i, line in enumerate(file(fp)):
if any(suspect.match(line) for suspect in usual_suspects):
- count += handleproblem('usual suspect at line %d' % i, fd, fp)
+ count += handleproblem('usual suspect at line %d' % i
+1
, fd, fp)
break
for p in scanignore: