Skip to content

Commit 526feff

Browse files
authored
Reference variable from loop instead of the one from the validator (#558)
1 parent 3870244 commit 526feff

File tree

1 file changed

+2
-2
lines changed
  • aws_lambda_builders/workflows/python_pip

1 file changed

+2
-2
lines changed

aws_lambda_builders/workflows/python_pip/actions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ def _find_runtime_with_pip(self) -> Tuple[SubprocessPip, str]:
103103
# during the init phase
104104

105105
# we can ignore these and let the action fail at the end
106-
LOG.debug(f"Python runtime path '{valid_python_path}' does not match the workflow")
106+
LOG.debug(f"Python runtime path '{python_path}' does not match the workflow")
107107
except MissingPipError:
108-
LOG.debug(f"Python runtime path '{valid_python_path}' does not contain pip")
108+
LOG.debug(f"Python runtime path '{python_path}' does not contain pip")
109109

110110
raise ActionFailedError("Failed to find a Python runtime containing pip on the PATH.")

0 commit comments

Comments
 (0)