mirror of https://github.com/borgbackup/borg.git
Merge pull request #3978 from ThomasWaldmann/fix-nanorst
nanorst: add missing blank to exception message
This commit is contained in:
commit
d2a816d0d4
|
@ -105,8 +105,8 @@ def rst_to_text(text, state_hook=None, references=None):
|
||||||
try:
|
try:
|
||||||
out.write(references[ref])
|
out.write(references[ref])
|
||||||
except KeyError:
|
except KeyError:
|
||||||
raise ValueError("Undefined reference in Archiver help: %r — please add reference substitution"
|
raise ValueError("Undefined reference in Archiver help: %r — please add reference "
|
||||||
"to 'rst_plain_text_references'" % ref)
|
"substitution to 'rst_plain_text_references'" % ref)
|
||||||
continue
|
continue
|
||||||
if char == ':' and text.peek(2) == ':\n': # End of line code block
|
if char == ':' and text.peek(2) == ':\n': # End of line code block
|
||||||
text.read(2)
|
text.read(2)
|
||||||
|
|
Loading…
Reference in New Issue