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