mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-15 23:42:37 +03:00
Line numbers start at 1, not 0
This commit is contained in:
parent
bb2598d358
commit
6cc91e2ded
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue