Merge pull request #3385 from stoned/find_plugin-cleanup

Remove redundant call to _get_path() in PluginLoader.find_plugin()
pull/3384/merge
Michael DeHaan 12 years ago
commit e4e3c239c7

@ -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…
Cancel
Save