소스 검색

Merge pull request #3978 from ThomasWaldmann/fix-nanorst

nanorst: add missing blank to exception message
TW 6 년 전
부모
커밋
d2a816d0d4
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  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)