[elbe-devel] [PATCH v2 15/75] remove_sign: use f-strings

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


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

diff --git a/elbepack/commands/remove_sign.py b/elbepack/commands/remove_sign.py
index ee0e58d42..14cb3f8d7 100644
--- a/elbepack/commands/remove_sign.py
+++ b/elbepack/commands/remove_sign.py
@@ -15,6 +15,6 @@ def run_command(argv):
 
     fname = unsign_file(argv[0])
     if fname:
-        print("unsigned file: %s" % fname)
+        print(f"unsigned file: {fname}")
     else:
         print("removing signature failed")
-- 
2.38.1



More information about the elbe-devel mailing list