mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-14 06:52:39 +03:00
Fix type issue
This commit is contained in:
parent
ab6d6a3d0b
commit
c813ad0594
1 changed files with 2 additions and 1 deletions
|
@ -1601,8 +1601,9 @@ def scan_source(build_dir, root_dir, thisbuild):
|
||||||
if not os.path.isfile(fp):
|
if not os.path.isfile(fp):
|
||||||
continue
|
continue
|
||||||
for i, line in enumerate(file(fp)):
|
for i, line in enumerate(file(fp)):
|
||||||
|
i = i + 1
|
||||||
if any(suspect.match(line) for suspect in usual_suspects):
|
if any(suspect.match(line) for suspect in usual_suspects):
|
||||||
count += handleproblem('usual suspect at line %d' % i+1, fd, fp)
|
count += handleproblem('usual suspect at line %d' % i, fd, fp)
|
||||||
break
|
break
|
||||||
|
|
||||||
for p in scanignore:
|
for p in scanignore:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue