Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
c997f03b
Commit
c997f03b
authored
Jan 29, 2014
by
Richard Isaacson
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5821 from risaacson/issue5781
If a executable is defined but not found the module should fail.
parents
b0c92111
f0c4dace
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
library/packaging/pip
+2
-1
No files found.
library/packaging/pip
View file @
c997f03b
...
...
@@ -175,7 +175,8 @@ def _get_pip(module, env=None, executable=None):
if
os
.
path
.
isabs
(
executable
):
pip
=
executable
else
:
candidate_pip_basenames
.
insert
(
0
,
executable
)
# If you define your own executable that executable should be the only candidate.
candidate_pip_basenames
=
[
executable
]
if
pip
is
None
:
if
env
is
None
:
opt_dirs
=
[]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment