Skip to content

Commit ff4db70

Browse files
Fix fstrings
Some Python strings were intended as f-strings but the `f` was missing.
1 parent 30a0388 commit ff4db70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

fboss/oss/scripts/run_scripts/qsfp_service_utils.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,17 +83,17 @@ def _setup_qsfp_service(
8383
if platform_mapping_override_path:
8484
if not os.path.exists(platform_mapping_override_path):
8585
raise Exception(
86-
"platform_mapping override path: {platform_mapping_override_path} does not exist"
86+
f"platform_mapping override path: {platform_mapping_override_path} does not exist"
8787
)
8888
extra_args += (
8989
f"{_PLATFORM_MAPPING_OVERRIDE_PATH_ARG} {platform_mapping_override_path}"
9090
)
9191
if bsp_platform_mapping_override_path:
9292
if not os.path.exists(bsp_platform_mapping_override_path):
9393
raise Exception(
94-
"bsp_platform_mapping override path: {bsp_platform_mapping_override_path} does not exist"
94+
f"bsp_platform_mapping override path: {bsp_platform_mapping_override_path} does not exist"
9595
)
96-
extra_args += f"{_BSP_PLATFORM_MAPPING_OVERRIDE_PATH_ARG} {bsp_platform_mapping_override_path}"
96+
extra_args += f" {_BSP_PLATFORM_MAPPING_OVERRIDE_PATH_ARG} {bsp_platform_mapping_override_path}"
9797
qsfp_service_cmd = (
9898
f"{qsfp_service_bin_path} --qsfp-config {qsfp_service_config_path} {extra_args}"
9999
)

0 commit comments

Comments
 (0)