mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-27 23:21:22 -07: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…
Add table
Add a link
Reference in a new issue