Merge branch 'patch-1' of https://github.com/ustun/ansible into ustun-patch-1
This commit is contained in:
commit
d89ce6ac61
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class PluginLoader(object):
|
||||||
def find_plugin(self, name):
|
def find_plugin(self, name):
|
||||||
''' Find a plugin named name '''
|
''' Find a plugin named name '''
|
||||||
|
|
||||||
if 'name' in self._plugin_path_cache:
|
if name in self._plugin_path_cache:
|
||||||
return self._plugin_path_cache[name]
|
return self._plugin_path_cache[name]
|
||||||
|
|
||||||
suffix = ".py"
|
suffix = ".py"
|
||||||
|
|
Loading…
Reference in a new issue