refactoring

This commit is contained in:
Maxim Devaev
2024-09-18 04:37:43 +03:00
parent 45270a09d7
commit 7a53f14456
83 changed files with 517 additions and 516 deletions

View File

@@ -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}"
# =====