Remove useless blank line removal in ChangeLog.write
The parsing functions eliminate blank lines, so there shouldn't be any at this stage.
This commit is contained in:
parent
37d670a1e1
commit
da14e8225e
1 changed files with 0 additions and 4 deletions
|
@ -168,10 +168,6 @@ class ChangeLog:
|
|||
for line in self.header:
|
||||
out.write(line)
|
||||
for section, lines in self.section_content.items():
|
||||
while lines and not lines[0].strip():
|
||||
del lines[0]
|
||||
while lines and not lines[-1].strip():
|
||||
del lines[-1]
|
||||
if not lines:
|
||||
continue
|
||||
out.write(b'### ' + section + b'\n\n')
|
||||
|
|
Loading…
Reference in a new issue