summaryrefslogtreecommitdiff
path: root/kvmd/tools.py
diff options
context:
space:
mode:
authorDevaev Maxim <[email protected]>2020-09-10 09:57:12 +0300
committerDevaev Maxim <[email protected]>2020-09-10 09:58:31 +0300
commitec6d13dc34071bf6673e532d767c25219ba52327 (patch)
tree15fe321ed2c92012ab3adf660a66b2fd23f06d7b /kvmd/tools.py
parent9cb5582565aa2301a238ca382a32dc80106f6c15 (diff)
refactoring
Diffstat (limited to 'kvmd/tools.py')
-rw-r--r--kvmd/tools.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kvmd/tools.py b/kvmd/tools.py
index 6d10e227..679a7e8d 100644
--- a/kvmd/tools.py
+++ b/kvmd/tools.py
@@ -28,6 +28,12 @@ from typing import List
from typing import Dict
from typing import Hashable
from typing import TypeVar
+from typing import Any
+
+
+# =====
+def str_strip(arg: Any) -> str:
+ return str(arg).strip()
# =====