[elbe-devel] [PATCH v3 64/75] treeutils: use f-strings
Daniel Braunwarth
daniel at braunwarth.dev
Sun Nov 6 22:12:43 CET 2022
Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
elbepack/treeutils.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/elbepack/treeutils.py b/elbepack/treeutils.py
index 9b9dcaa07..6e9b59a2f 100644
--- a/elbepack/treeutils.py
+++ b/elbepack/treeutils.py
@@ -41,7 +41,7 @@ class ebase:
return default[kwargs["key"]]
return default
- raise Exception("Cant find path %s" % path)
+ raise Exception(f"Cant find path {path}")
return el.text or ""
--
2.38.1
More information about the elbe-devel
mailing list