From 757fb39a2ed1c940cd894fa26a5d9689d07e317a Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Tue, 9 Jun 2015 21:35:44 -0400 Subject: [PATCH] now uses new module_loader --- lib/ansible/cli/pull.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/cli/pull.py b/lib/ansible/cli/pull.py index c78540eeb2..0d37568e20 100644 --- a/lib/ansible/cli/pull.py +++ b/lib/ansible/cli/pull.py @@ -26,9 +26,9 @@ import sys from ansible import constants as C from ansible.errors import AnsibleError, AnsibleOptionsError from ansible.cli import CLI +from ansible.plugins import module_loader from ansible.utils.display import Display from ansible.utils.vault import read_vault_file -from ansible.utils.plugins import module_finder from ansible.utils.cmd_functions import run_cmd ######################################################## @@ -127,7 +127,7 @@ class PullCLI(CLI): if self.options.private_key_file: repo_opts += ' key_file=%s' % self.options.private_key_file - path = module_finder.find_plugin(self.options.module_name) + path = module_loader.find_plugin(self.options.module_name) if path is None: raise AnsibleOptionsError(("module '%s' not found.\n" % self.options.module_name))