From 526feff21deaa7460ab477bb07f540e5aaf4a264 Mon Sep 17 00:00:00 2001 From: Lucas <12496191+lucashuy@users.noreply.github.com> Date: Mon, 16 Oct 2023 11:03:35 -0700 Subject: [PATCH] Reference variable from loop instead of the one from the validator (#558) --- aws_lambda_builders/workflows/python_pip/actions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/aws_lambda_builders/workflows/python_pip/actions.py b/aws_lambda_builders/workflows/python_pip/actions.py index 0cf53323..d325559d 100644 --- a/aws_lambda_builders/workflows/python_pip/actions.py +++ b/aws_lambda_builders/workflows/python_pip/actions.py @@ -103,8 +103,8 @@ def _find_runtime_with_pip(self) -> Tuple[SubprocessPip, str]: # during the init phase # we can ignore these and let the action fail at the end - LOG.debug(f"Python runtime path '{valid_python_path}' does not match the workflow") + LOG.debug(f"Python runtime path '{python_path}' does not match the workflow") except MissingPipError: - LOG.debug(f"Python runtime path '{valid_python_path}' does not contain pip") + LOG.debug(f"Python runtime path '{python_path}' does not contain pip") raise ActionFailedError("Failed to find a Python runtime containing pip on the PATH.")