diff options
author | Doug Hellmann <doug@doughellmann.com> | 2018-10-08 11:49:50 -0400 |
---|---|---|
committer | Stephen Finucane <sfinucan@redhat.com> | 2018-10-09 11:56:04 +0100 |
commit | 4b4c3ca6bb0d6fed1b930578e716f1e17db0b491 (patch) | |
tree | d5c8991fd3337aeeb894ad0e5552f41efa20f811 | |
parent | ae7dbd939f76d84c0e4ee479f1c82aa4925d6e95 (diff) | |
download | oslo-config-4b4c3ca6bb0d6fed1b930578e716f1e17db0b491.tar.gz |
avoid trailing space in sphinxext log output
Fix nit from parent patch.
Change-Id: I25b8ea98a91ec0b10787110584cb8cf293bcc404
Signed-off-by: Doug Hellmann <doug@doughellmann.com>
-rw-r--r-- | oslo_config/sphinxext.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/oslo_config/sphinxext.py b/oslo_config/sphinxext.py index 74a15ef..aaac75d 100644 --- a/oslo_config/sphinxext.py +++ b/oslo_config/sphinxext.py @@ -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 |