Skip to content

Commit 76226b2

Browse files
committed
Parse section starts beginning with whitespace
1 parent 7ceb876 commit 76226b2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/memap.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ 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()
134135
for i in self.ALL_SECTIONS:
135136
if line.startswith(i):
136137
return i

0 commit comments

Comments
 (0)