From b7f89837bbdd30af8775abf7916e0eeaaf798188 Mon Sep 17 00:00:00 2001 From: Stoned Elipot Date: Sun, 30 Jun 2013 16:38:26 +0200 Subject: [PATCH] Remove redundant call to _get_path() in PluginLoader.find_plugin() --- lib/ansible/utils/plugins.py | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/ansible/utils/plugins.py b/lib/ansible/utils/plugins.py index 88aaa792b3..c7fb2c4782 100644 --- a/lib/ansible/utils/plugins.py +++ b/lib/ansible/utils/plugins.py @@ -141,7 +141,6 @@ class PluginLoader(object): suffix = ".py" if not self.class_name: suffix = "" - paths = self._get_paths() for i in self._get_paths(): path = os.path.join(i, "%s%s" % (name, suffix))