From 7006a97cbb625617950e4959cc0dd1fbc17c2848 Mon Sep 17 00:00:00 2001 From: Michael Kubacki Date: Wed, 9 Nov 2022 22:35:17 -0500 Subject: [PATCH] Use f-strings in new logging messages --- edk2toolext/environment/uefi_build.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/edk2toolext/environment/uefi_build.py b/edk2toolext/environment/uefi_build.py index 117019ac6..575bcab31 100644 --- a/edk2toolext/environment/uefi_build.py +++ b/edk2toolext/environment/uefi_build.py @@ -314,12 +314,12 @@ def Build(self): edk2_build_cmd = self.env.GetValue("EDK_BUILD_CMD") if edk2_build_cmd is None: edk2_build_cmd = "build" - logging.debug("The edk2 build command is %s" % edk2_build_cmd) + logging.debug(f"The edk2 build command is {edk2_build_cmd}") edk2_build_params = self.env.GetValue("EDK_BUILD_PARAMS") if edk2_build_params is None: edk2_build_params = params - logging.debug("Edk2 build parameters are %s" % edk2_build_params) + logging.debug(f"Edk2 build parameters are {edk2_build_params}") ret = RunCmd(edk2_build_cmd, edk2_build_params) # WORKAROUND - Undo the workaround.