[elbe-devel] [PATCH v2 63/75] updated_monitors: use f-strings
Daniel Braunwarth
daniel at braunwarth.dev
Wed Nov 2 20:14:45 CET 2022
Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
elbepack/updated_monitors.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/elbepack/updated_monitors.py b/elbepack/updated_monitors.py
index e6922ae62..f1d237b44 100644
--- a/elbepack/updated_monitors.py
+++ b/elbepack/updated_monitors.py
@@ -54,8 +54,7 @@ class USBMonitor (UpdateMonitor):
upd_file = os.path.join(dirpath, f)
if is_update_file(upd_file):
self.status.log(
- "Found update file '%s' on USB-Device." %
- upd_file)
+ f"Found update file '{upd_file}' on USB-Device.")
handle_update_file(
upd_file, self.status, remove=False)
if self.status.stop:
--
2.38.1
More information about the elbe-devel
mailing list