Explorar o código

Merge pull request #3978 from ThomasWaldmann/fix-nanorst

nanorst: add missing blank to exception message
TW %!s(int64=6) %!d(string=hai) anos
pai
achega
d2a816d0d4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      src/borg/nanorst.py

+ 2 - 2
src/borg/nanorst.py

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