[elbe-devel] [PATCH v2 17/75] setsel: use f-strings

Daniel Braunwarth daniel at braunwarth.dev
Wed Nov 2 20:13:59 CET 2022


Signed-off-by: Daniel Braunwarth <daniel at braunwarth.dev>
---
 elbepack/commands/setsel.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/elbepack/commands/setsel.py b/elbepack/commands/setsel.py
index 870bc6acb..a7da2bc61 100644
--- a/elbepack/commands/setsel.py
+++ b/elbepack/commands/setsel.py
@@ -24,7 +24,7 @@ def parse_selections(fname):
 
         sp = l.split()
 
-        print("%s %s" % (sp[0], sp[1]))
+        print(f"{sp[0]} {sp[1]}")
 
         if sp[1] == 'install':
             sels.append(sp[0])
-- 
2.38.1



More information about the elbe-devel mailing list