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

Remove redundant call to _get_path() in PluginLoader.find_plugin()

This commit is contained in:
Stoned Elipot 2013-06-30 16:38:26 +02:00
parent d61a65ff08
commit b7f89837bb

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