1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #3385 from stoned/find_plugin-cleanup

Remove redundant call to _get_path() in PluginLoader.find_plugin()
This commit is contained in:
Michael DeHaan 2013-06-30 08:29:09 -07:00
commit e4e3c239c7

View file

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