fix the line number

This commit is contained in:
Damien Churchill 2009-04-08 09:01:09 +00:00
parent 908760d3a9
commit 8c93241ef6
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ for filename in files:
for match in string_re.finditer(line):
string = match.group(1)
locations = strings.get(string, [])
locations.append((os.path.basename(filename), line_num))
locations.append((os.path.basename(filename), line_num + 1))
strings[string] = locations
keys = strings.keys()
keys.sort()