Merge "Write sphinxext debug tempfile with linebreaks"

This commit is contained in:
Zuul 2018-08-01 03:48:36 +00:00 committed by Gerrit Code Review
commit 8c80590e8f
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ class ShowOptionsDirective(rst.Directive):
for part in parts:
result.append(line, source_name, count + offset)
tmp.write(line.encode('utf-8'))
tmp.write(line.encode('utf-8') + b'\n')
node = nodes.section()
node.document = self.state.document