Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/TurtleArt
diff options
context:
space:
mode:
authorWalter Bender <walter.bender@gmail.com>2012-03-27 13:21:23 (GMT)
committer Walter Bender <walter.bender@gmail.com>2012-03-27 13:21:23 (GMT)
commit4cb54af5da75c008e172582a615a4c7fffaaf3f4 (patch)
treef3ce01d58b2c349edd2e094945370c73808da069 /TurtleArt
parent3cc961513e7d574eebfe69ded1b5063fa0af5fa5 (diff)
enable reloading of plugins
Diffstat (limited to 'TurtleArt')
-rw-r--r--TurtleArt/tapalette.py2
-rw-r--r--TurtleArt/tawindow.py4
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):