[elbe-devel] [PATCH 24/75] faults: use f-strings
Daniel Braunwarth
daniel at braunwarth.dev
Wed Nov 2 20:01:34 CET 2022
Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
elbepack/daemons/soap/faults.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/elbepack/daemons/soap/faults.py b/elbepack/daemons/soap/faults.py
index 912a03705..88d6ed3c5 100644
--- a/elbepack/daemons/soap/faults.py
+++ b/elbepack/daemons/soap/faults.py
@@ -226,5 +226,4 @@ def soap_faults(func):
raise SoapElbeProjectError(format_exc())
return wrapped
- raise Exception("arg count %d not implemented" %
- func.__code__.co_argcount)
+ raise Exception(f"arg count {func.__code__.co_argcount} not implemented")
--
2.38.1
More information about the elbe-devel
mailing list