mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-23 16:26:29 +00:00
nanorst: add missing blank to exception message
This commit is contained in:
parent
1f75b6b9b5
commit
0d06407087
1 changed files with 2 additions and 2 deletions
|
@ -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 a new issue