Merge pull request #3978 from ThomasWaldmann/fix-nanorst

nanorst: add missing blank to exception message
This commit is contained in:
TW 2018-07-13 11:38:52 +02:00 committed by GitHub
commit d2a816d0d4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -105,8 +105,8 @@ def rst_to_text(text, state_hook=None, references=None):
try:
out.write(references[ref])
except KeyError:
raise ValueError("Undefined reference in Archiver help: %r — please add reference substitution"
"to 'rst_plain_text_references'" % ref)
raise ValueError("Undefined reference in Archiver help: %r — please add reference "
"substitution to 'rst_plain_text_references'" % ref)
continue
if char == ':' and text.peek(2) == ':\n': # End of line code block
text.read(2)