Commit e4e3c239 by Michael DeHaan

Merge pull request #3385 from stoned/find_plugin-cleanup

Remove redundant call to _get_path() in PluginLoader.find_plugin()
parents d61a65ff b7f89837
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment