summaryrefslogtreecommitdiff
path: root/kvmd/validators
diff options
context:
space:
mode:
authorMaxim Devaev <[email protected]>2021-09-08 04:07:58 +0300
committerMaxim Devaev <[email protected]>2021-09-08 04:07:58 +0300
commit939c63fe7daf2ddc9a05c9e0fbeab63cb5c6f0c1 (patch)
tree56ce11bd87e947d12b2697a994aa7c43f8fc3a97 /kvmd/validators
parentcc5b2a42b8acbaa3bc62a8a1850370f19a44d392 (diff)
fixed msg
Diffstat (limited to 'kvmd/validators')
-rw-r--r--kvmd/validators/__init__.py2
1 files changed, 1 insertions, 1 deletions
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