From 22c78918862f72a500a954b0e64434845b35ce13 Mon Sep 17 00:00:00 2001 From: Pedro Romano Date: Sat, 2 Nov 2013 19:25:51 +0000 Subject: [PATCH] Obsolete attempts at determining the full path to the desired 'easy_install' executable were still left behind and need to be removed for the customizable 'executable' task argument to correctly work: '_get_easy_install' should take care of all the functionality related to determining the correct 'easy_install' executable to use. --- packaging/easy_install | 3 --- 1 file changed, 3 deletions(-) diff --git a/packaging/easy_install b/packaging/easy_install index fb1470b5f21..55714ef0acd 100644 --- a/packaging/easy_install +++ b/packaging/easy_install @@ -133,7 +133,6 @@ def main(): name = module.params['name'] env = module.params['virtualenv'] - easy_install = module.get_bin_path(module.params['executable'], True, ['%s/bin' % env]) executable = module.params['executable'] easy_install = _get_easy_install(module, env, executable) site_packages = module.params['virtualenv_site_packages'] @@ -158,8 +157,6 @@ def main(): out += out_venv err += err_venv - easy_install = module.get_bin_path('easy_install', True, ['%s/bin' % env]) - cmd = None changed = False installed = _is_package_installed(module, name, easy_install)