summaryrefslogtreecommitdiff
path: root/kvmd/tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'kvmd/tools.py')
-rw-r--r--kvmd/tools.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/tools.py b/kvmd/tools.py
index c96ff38f..14a58ab3 100644
--- a/kvmd/tools.py
+++ b/kvmd/tools.py
@@ -39,8 +39,8 @@ def cmdfmt(cmd: list[str]) -> str:
return " ".join(map(shlex.quote, cmd))
-def efmt(err: Exception) -> str:
- return f"{type(err).__name__}: {err}"
+def efmt(ex: Exception) -> str:
+ return f"{type(ex).__name__}: {ex}"
# =====