create-relocatable-package.py: use f-string

in dcce0c96a9, we should have used
f-string for printing the return code of gzip subprocess. but the
"f" prefix was missed. so, in this change, it is added.

Signed-off-by: Kefu Chai <kefu.chai@scylladb.com>

Closes #13500
This commit is contained in:
Kefu Chai
2023-04-13 18:56:21 +08:00
committed by Botond Dénes
parent a47bac931c
commit 60ff230d54

View File

@@ -181,5 +181,5 @@ ar.reloc_add('fix_system_distributed_tables.py')
ar.close()
gzip_process.communicate()
if gzip_process.returncode != 0:
print('pigz returned {gzip_process.returncode}!', file=sys.stderr)
print(f'pigz returned {gzip_process.returncode}!', file=sys.stderr)
sys.exit(1)