From 7412b1d800456ab2f17320704e5f486e67370f00 Mon Sep 17 00:00:00 2001 From: Walter Bender Date: Fri, 05 Mar 2010 15:32:38 +0000 Subject: rm spurious print --- (limited to 'tawindow.py') diff --git a/tawindow.py b/tawindow.py index 8fec316..f99dfca 100644 --- a/tawindow.py +++ b/tawindow.py @@ -258,9 +258,9 @@ class TurtleArtWindow(): """ def _expose_cb(self, win, event): self.sprite_list.redraw_sprites() + # self.canvas.cr_expose(event) return True - """ Eraser_button (Always hide status block when clearing the screen.) """ @@ -824,6 +824,8 @@ class TurtleArtWindow(): Select a toolbar button (Used when not running Sugar). """ def _select_toolbar_button(self, spr): + if not hasattr(spr, 'name'): + return if spr.name == 'run-fastoff': self.lc.trace = 0 self.run_button(0) @@ -1664,7 +1666,6 @@ class TurtleArtWindow(): if bot is None: return if top.ey > 0: - print "reseting arm" top.reset_y() tx, ty = top.spr.get_xy() tw, th = top.spr.get_dimensions() -- cgit v0.9.1