1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-24 00:37:56 +00:00

nanorst: add missing blank to exception message

This commit is contained in:
Thomas Waldmann 2018-07-13 10:41:32 +02:00
parent 1f75b6b9b5
commit 0d06407087

View file

@ -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)