From 51a09d2b1128e0c1e02eb0617f71ca4bda039a7e Mon Sep 17 00:00:00 2001 From: "Galantsev, Dmitrii" Date: Fri, 22 Sep 2023 19:13:33 -0500 Subject: [PATCH] PY: Remove f-strings from rocm_smi.py Change-Id: I0a422e8f66473af837460ecb2450e5be329163b0 Signed-off-by: Galantsev, Dmitrii [ROCm/rocm_smi_lib commit: 3a4e428fd5d0a14060a7f0bb5cbfbb478b9094da] --- projects/rocm-smi-lib/python_smi_tools/rocm_smi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py b/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py index 402a157db8..1c0ab55e02 100755 --- a/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py +++ b/projects/rocm-smi-lib/python_smi_tools/rocm_smi.py @@ -3537,7 +3537,7 @@ def save(deviceList, savefilepath): # The code below is for when this script is run as an executable instead of when imported as a module if __name__ == '__main__': parser = argparse.ArgumentParser( - description=f'AMD ROCm System Management Interface | ROCM-SMI version: {__version__}', + description='AMD ROCm System Management Interface | ROCM-SMI version: %s' % __version__, formatter_class=lambda prog: argparse.HelpFormatter(prog, max_help_position=90, width=120)) groupDev = parser.add_argument_group() groupDisplayOpt = parser.add_argument_group('Display Options')