actually skip bad/broken module files found

pull/16957/head
Brian Coca 8 years ago
parent 98c149859a
commit b0786a1845

@ -371,6 +371,7 @@ class PluginLoader:
obj = getattr(self._module_cache[path], self.class_name)
except AttributeError as e:
display.warning("Skipping plugin (%s) as it seems to be invalid: %s" % (path, to_unicode(e)))
continue
if self.base_class:
# The import path is hardcoded and should be the right place,

Loading…
Cancel
Save