Write sphinxext debug tempfile with linebreaks
It's much easier to debug the output if it isn't all on one line. Change-Id: I446036aa043b74bb0f39deedd3f2cb9d08fd4dce
This commit is contained in:
parent
ce150b1037
commit
9bbbcabf38
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue