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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user