Explorar o código

Merge pull request #4658 from emichael/1.1-maint

1.1-maint: Fix invalid archive error message
TW %!s(int64=6) %!d(string=hai) anos
pai
achega
737869449c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/borg/helpers.py

+ 1 - 1
src/borg/helpers.py

@@ -1205,7 +1205,7 @@ def archivename_validator():
     def validator(text):
         text = replace_placeholders(text)
         if '/' in text or '::' in text or not text:
-            raise argparse.ArgumentTypeError('Invalid repository name: "%s"' % text)
+            raise argparse.ArgumentTypeError('Invalid archive name: "%s"' % text)
         return text
     return validator