some small typo fixes

This commit is contained in:
cheng-jian 2019-08-28 10:46:36 +08:00
parent ec1b14174f
commit 93f7b98f70

View File

@ -421,7 +421,7 @@ class AutoSchema(ViewInspector):
for line in lines:
if header_regex.match(line):
current_section, seperator, lead = line.partition(':')
current_section, _, lead = line.partition(':')
sections[current_section] = lead.strip()
else:
sections[current_section] += '\n' + line