Skip to content

Commit

Permalink
Use f-strings in new logging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
makubacki committed Nov 10, 2022
1 parent de8b421 commit 7006a97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions edk2toolext/environment/uefi_build.py
Expand Up @@ -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.
Expand Down

0 comments on commit 7006a97

Please sign in to comment.