Skip to content

Commit 002a2b1

Browse files
committed
Fix the bug that travis caught
1 parent 76226b2 commit 002a2b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/memap.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,9 +131,9 @@ def check_new_section(self, line):
131131
return value - A section name, if a new section was found, None
132132
otherwise
133133
"""
134-
line = line.strip()
134+
line_s = line.strip()
135135
for i in self.ALL_SECTIONS:
136-
if line.startswith(i):
136+
if line_s.startswith(i):
137137
return i
138138
if line.startswith('.'):
139139
return 'unknown'

0 commit comments

Comments
 (0)