Commit 87466cd9 authored by eric pellegrini's avatar eric pellegrini
Browse files

Remove empty spaces

parent 787d06b9
......@@ -99,14 +99,15 @@ class DataPlugin(IPlugin):
def drop(self, pluginName):
# If no plugin match the name of the dropped plugin, do nothing.
plugin = REGISTRY["plugin"].get(pluginName,None)
plugin = REGISTRY["plugin"].get(pluginName,None)
if plugin is None:
klasses = tuple([REGISTRY['plugin'][anc] for anc in plugin.ancestor])
if not issubclass(self.__class__,klasses):
plugin = plugin(self)
self._mgr.AddPane(plugin, wxaui.AuiPaneInfo().Caption(getattr(plugin, "label", pluginName)))
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