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:
ab6d6a3
)
Fix type issue
author
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Aug 2015 05:04:20 +0000
(22:04 -0700)
committer
Daniel Martí
<mvdan@mvdan.cc>
Tue, 18 Aug 2015 05:04:20 +0000
(22:04 -0700)
fdroidserver/common.py
patch
|
blob
|
history
diff --git
a/fdroidserver/common.py
b/fdroidserver/common.py
index 2f18f7f504325faa2196c8dfb4bb5943dea65ebb..ec82561342f3c6f4e772733141eed60ec65aa4d3 100644
(file)
--- a/
fdroidserver/common.py
+++ b/
fdroidserver/common.py
@@
-1601,8
+1601,9
@@
def scan_source(build_dir, root_dir, thisbuild):
if not os.path.isfile(fp):
continue
for i, line in enumerate(file(fp)):
+ i = i + 1
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
for p in scanignore: