From 9c931881289528c4fd6ed4406d3a8ae59efebfb9 Mon Sep 17 00:00:00 2001 From: Marion Date: Sat, 10 Aug 2013 08:19:22 +0000 Subject: remove superfluous recursive call to Turtle.set_color --- diff --git a/TurtleArt/taturtle.py b/TurtleArt/taturtle.py index 4d5e3a8..ea1fb1a 100644 --- a/TurtleArt/taturtle.py +++ b/TurtleArt/taturtle.py @@ -342,8 +342,6 @@ class Turtle: self.set_shade(color.shade, share) self.set_gray(color.gray, share) if color.color is not None: - # TODO why do we call this function twice? - self.set_color(color.color, share) color = color.color else: color = self._pen_color -- cgit v0.9.1