avoid trailing space in sphinxext log output

Fix nit from parent patch.

Change-Id: I25b8ea98a91ec0b10787110584cb8cf293bcc404
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
This commit is contained in:
Doug Hellmann 2018-10-08 11:49:50 -04:00 committed by Stephen Finucane
parent ae7dbd939f
commit 4b4c3ca6bb
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class ShowOptionsDirective(rst.Directive):
for count, line in enumerate(_format_option_help(
namespaces, split_namespaces)):
result.append(line, source_name, count)
LOG.debug(' '.join(['%5d' % (count), line]))
LOG.debug('%5d%s%s', count, ' ' if line else '', line)
node = nodes.section()
node.document = self.state.document