Fix invalid archive error message

Backporting b6a7a0806e to 1.1-maint
This commit is contained in:
Ellis Michael 2019-07-01 10:18:53 -07:00 committed by GitHub
parent 22c9c19de2
commit aac005d7b4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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