From 939c63fe7daf2ddc9a05c9e0fbeab63cb5c6f0c1 Mon Sep 17 00:00:00 2001 From: Maxim Devaev Date: Wed, 8 Sep 2021 04:07:58 +0300 Subject: fixed msg --- kvmd/validators/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kvmd/validators') diff --git a/kvmd/validators/__init__.py b/kvmd/validators/__init__.py index d66dec56..04861b2c 100644 --- a/kvmd/validators/__init__.py +++ b/kvmd/validators/__init__.py @@ -52,7 +52,7 @@ def raise_error(arg: Any, name: str, hide: bool=False) -> NoReturn: def check_not_none(arg: Any, name: str) -> Any: if arg is None: - raise ValidatorError(f"Empty argument is not a valid {name}") + raise ValidatorError(f"None argument is not a valid {name}") return arg -- cgit v1.2.3