Ver código fonte

Merge pull request #3978 from ThomasWaldmann/fix-nanorst

nanorst: add missing blank to exception message
TW 6 anos atrás
pai
commit
d2a816d0d4
1 arquivos alterados com 2 adições e 2 exclusões
  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)