diff options
Diffstat (limited to 'TurtleArt')
-rw-r--r-- | TurtleArt/tapalette.py | 2 | ||||
-rw-r--r-- | TurtleArt/tawindow.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/TurtleArt/tapalette.py b/TurtleArt/tapalette.py index da80386..27a3956 100644 --- a/TurtleArt/tapalette.py +++ b/TurtleArt/tapalette.py @@ -141,7 +141,6 @@ class Palette(): palette_blocks.insert(i, []) block_colors.insert(i, self._colors) else: - # debug_output('Palette %s already defined' % (self._name)) return # Special name entry is needed for help hover mechanism @@ -236,6 +235,7 @@ class Palette(): block.set_hidden() block.add_block() + def make_palette(palette_name, colors=None, help_string=None, position=None): """ Palette helper function """ if colors is None: diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index 0d0ce49..499eefb 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -301,13 +301,13 @@ class TurtleArtWindow(): try: exec f in globals(), plugins self._plugins.append(plugins.values()[0](self)) - debug_output('successfully importing %s' % (plugin_class), + debug_output('Successfully importing %s' % (plugin_class), self.running_sugar) # Add the icon dir to the icon_theme search path self._add_plugin_icon_dir(os.path.join(self._get_plugin_home(), plugin_dir)) except ImportError, e: - debug_output('failed to import %s: %s' % (plugin_class, str(e)), + debug_output('Failed to import %s: %s' % (plugin_class, str(e)), self.running_sugar) def _add_plugin_icon_dir(self, dirname): |