sphinxext: Address nits from Ic6c2dcbe7823dd3fdc71db8dc5afab2d604559e3
Change-Id: Idf8bf0c385c6b61f644b0974c9ec93fccf4372c7 Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
This commit is contained in:
parent
1319cfb476
commit
9fb043606e
|
@ -54,7 +54,8 @@ def _list_table(headers, data, title='', columns=None):
|
|||
|
||||
def _indent(text, n=2):
|
||||
padding = ' ' * n
|
||||
return '\n'.join(padding + l if l else l for l in text.splitlines())
|
||||
# we don't want to indent blank lines so just output them as-is
|
||||
return '\n'.join(padding + x if x else '' for x in text.splitlines())
|
||||
|
||||
|
||||
def _make_anchor_target(group_name, option_name):
|
||||
|
|
Loading…
Reference in New Issue