mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #3652 from gthb/fix-virtualenv.managed-index-args
Fix bug in propagating [extra_]index_url args
This commit is contained in:
commit
845ffb0258
@ -127,8 +127,8 @@ def managed(name,
|
||||
before = set(__salt__['pip.freeze'](bin_env=name))
|
||||
_ret = __salt__['pip.install'](
|
||||
requirements=requirements, bin_env=name, runas=runas, cwd=cwd,
|
||||
index_url=None,
|
||||
extra_index_url=None,
|
||||
index_url=index_url,
|
||||
extra_index_url=extra_index_url,
|
||||
__env__=__env__
|
||||
)
|
||||
ret['result'] &= _ret['retcode'] == 0
|
||||
|
Loading…
Reference in New Issue
Block a user