Skip to content

Commit

Permalink
Reference variable from loop instead of the one from the validator (#558
Browse files Browse the repository at this point in the history
)
  • Loading branch information
lucashuy authored Oct 16, 2023
1 parent 3870244 commit 526feff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions aws_lambda_builders/workflows/python_pip/actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.")

0 comments on commit 526feff

Please sign in to comment.