diff options
author | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-10-08 18:46:05 (GMT) |
---|---|---|
committer | Pootle daemon <pootle@pootle.sugarlabs.org> | 2013-10-08 18:46:05 (GMT) |
commit | 3c3098c35b1326eb83e7802bdb9d09839ba7bf2d (patch) | |
tree | 26ceecb4ea6810d31bc43e4270e8938523ce57c3 | |
parent | b9b1bcc26f25eff37b034e0687d8fe1a980eb95d (diff) | |
parent | db3dc06d33c7ef0e5dc868a9ec87d29eb89ca24a (diff) |
Merge branch 'master' of git.sugarlabs.org:turtleart/mainline
-rw-r--r-- | TurtleArt/tawindow.py | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 383d513..2bd720e 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -409,7 +409,7 @@ class TurtleArtWindow(): plugin.setup() except Exception as e: debug_output('Plugin %s failed during setup: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) # If setup fails, remove the plugin from the list self.turtleart_plugins.remove(plugin) @@ -421,7 +421,7 @@ class TurtleArtWindow(): plugin.start() except Exception as e: debug_output('Plugin %s failed during start: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def stop_plugins(self): ''' Stop is called whenever we stop execution. ''' @@ -431,7 +431,7 @@ class TurtleArtWindow(): plugin.stop() except Exception as e: debug_output('Plugin %s failed during stop: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def clear_plugins(self): ''' Clear is called from the clean block and erase button. ''' @@ -441,7 +441,7 @@ class TurtleArtWindow(): plugin.clear() except Exception as e: debug_output('Plugin %s failed during clear: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def background_plugins(self): ''' Background is called when we are pushed to the background. ''' @@ -451,7 +451,7 @@ class TurtleArtWindow(): plugin.goto_background() except Exception as e: debug_output('Plugin %s failed during background: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def foreground_plugins(self): ''' Foreground is called when we are return from the background. ''' @@ -461,7 +461,7 @@ class TurtleArtWindow(): plugin.return_to_foreground() except Exception as e: debug_output('Plugin %s failed during foreground: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def quit_plugins(self): ''' Quit is called upon program exit. ''' @@ -471,7 +471,7 @@ class TurtleArtWindow(): plugin.quit() except Exception as e: debug_output('Plugin %s failed during quit: %s' % - (plugin_class, str(e)), self.running_sugar) + (plugin, str(e)), self.running_sugar) def _setup_events(self): ''' Register the events we listen to. ''' |