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:
commit
e4e3c239c7
1 changed files with 0 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue