From 5b3215c81c5ecf4791ac1ef550e84a507e7d0e45 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Mon, 26 Mar 2012 20:13:21 +0000 Subject: pep8 cleanup --- (limited to 'TurtleArt') diff --git a/TurtleArt/tawindow.py b/TurtleArt/tawindow.py index acd1806..0d0ce49 100644 --- a/TurtleArt/tawindow.py +++ b/TurtleArt/tawindow.py @@ -76,6 +76,7 @@ if GST_AVAILABLE: MOTION_THRESHOLD = 6 SNAP_THRESHOLD = 200 + class TurtleArtWindow(): """ TurtleArt Window class abstraction """ timeout_tag = [0] @@ -343,7 +344,7 @@ class TurtleArtWindow(): plugin.stop() def clear_plugins(self): - """ Clear is called from the clean block and erase button. """ + """ Clear is called from the clean block and erase button. """ for plugin in self._plugins: if hasattr(plugin, 'clear'): plugin.clear() @@ -906,7 +907,7 @@ class TurtleArtWindow(): elif name in PYTHON_SKIN: self._proto_skin('pythonsmall', n, -1) return - + def _hide_toolbar_palette(self): """ Hide the toolbar palettes """ self._hide_previous_palette() @@ -1098,7 +1099,7 @@ class TurtleArtWindow(): n += 1 else: n -= 1 - self.selected_blk.spr.set_label(str(n) + CURSOR) + self.selected_blk.spr.set_label(str(n) + CURSOR) return True self._unselect_block() self.selected_turtle = None -- cgit v0.9.1