[elbe-devel] [PATCH v2 13/75] preprocess: use f-strings

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


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

diff --git a/elbepack/commands/preprocess.py b/elbepack/commands/preprocess.py
index 7740d4e4c..d326db0e3 100644
--- a/elbepack/commands/preprocess.py
+++ b/elbepack/commands/preprocess.py
@@ -34,7 +34,7 @@ def run_command(argv):
         sys.exit(20)
 
     if not os.path.isfile(args[0]):
-        print("%s doesn't exist" % args[0], file=sys.stderr)
+        print(f"{args[0]} doesn't exist", file=sys.stderr)
         sys.exit(20)
 
     variants = []
-- 
2.38.1



More information about the elbe-devel mailing list