refactoring

This commit is contained in:
Devaev Maxim
2020-05-25 01:52:37 +03:00
parent d5dca5a8b4
commit e6f8396661
5 changed files with 6 additions and 6 deletions

View File

@@ -85,5 +85,5 @@ def valid_ssl_ciphers(arg: Any) -> str:
try:
ssl.SSLContext().set_ciphers(arg)
except Exception as err:
raise ValidatorError(f"The argument {arg!r} is not a valid {name}: {str(err)}")
raise ValidatorError(f"The argument {arg!r} is not a valid {name}: {err}")
return arg