Style: follow PEP8
This commit is contained in:
parent
d8b6c77388
commit
974349d40e
1 changed files with 1 additions and 1 deletions
|
@ -113,7 +113,7 @@ class ChangeLog:
|
||||||
elif level == 3 and level_2_seen == 1:
|
elif level == 3 and level_2_seen == 1:
|
||||||
current_section = content
|
current_section = content
|
||||||
self.section_content.setdefault(content, [])
|
self.section_content.setdefault(content, [])
|
||||||
elif level_2_seen == 1 and current_section != None:
|
elif level_2_seen == 1 and current_section is not None:
|
||||||
if line.strip():
|
if line.strip():
|
||||||
self.section_content[current_section].append(line)
|
self.section_content[current_section].append(line)
|
||||||
elif level_2_seen <= 1:
|
elif level_2_seen <= 1:
|
||||||
|
|
Loading…
Reference in a new issue