From a9806a90365ab4c65ceaa138a641302663ec14b7 Mon Sep 17 00:00:00 2001
From: JURAJ LUTTER <juraj@lutter.sk>
Date: Thu, 21 Apr 2022 09:23:28 +0200
Subject: [PATCH] fix: Fix "Compiling" messages in setup.py

---
 setup.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/setup.py b/setup.py
index 5698bc6bae..2e0f802973 100644
--- a/setup.py
+++ b/setup.py
@@ -62,7 +62,7 @@ def build_translation() -> None:
                            cwd=REPO_DIR,
                            check=True)
 
-            print('Compiling %s >> %s', po_file, mo_file)
+            print('Compiling %s >> %s' % (po_file, mo_file))
 
 
 def install_trans(data_files) -> None:
@@ -94,7 +94,7 @@ def build_man() -> None:
         with open(filename, 'rb') as f_in,\
                 gzip.open(man_file_gz, 'wb') as f_out:
             f_out.writelines(f_in)
-            print('Compiling %s >> %s', filename, man_file_gz)
+            print('Compiling %s >> %s' % (filename, man_file_gz))
 
 
 def install_man(data_files) -> None:
@@ -140,7 +140,7 @@ def merge(in_file, out_file, option, po_dir: str = 'po') -> None:
             msg = ('ERROR: %s was not merged into the translation files!\n' %
                    out_file)
             raise SystemExit(msg)
-        print('Compiling %s >> %s', in_file, out_file)
+        print('Compiling %s >> %s' % (in_file, out_file))
 
 
 class build(_build):
-- 
GitLab