Skip to content
Snippets Groups Projects
Commit a9806a90 authored by Juraj Lutter's avatar Juraj Lutter
Browse files

fix: Fix "Compiling" messages in setup.py

parent c34f3da0
No related branches found
No related tags found
No related merge requests found
......@@ -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):
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment