Merge pull request #3652 from gthb/fix-virtualenv.managed-index-args

Fix bug in propagating [extra_]index_url args
This commit is contained in:
Thomas S Hatch 2013-02-08 11:20:11 -08:00
commit 845ffb0258

View File

@ -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