From 55d3ffa3c205a4157f7f6f356a2a25b5c034e33a Mon Sep 17 00:00:00 2001
From: Barry Warsaw <barry@python.org>
Date: Wed, 11 Feb 1998 18:55:50 +0000
Subject: new interface to find_byname()

---
 Tools/pynche/PyncheWidget.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Tools/pynche/PyncheWidget.py b/Tools/pynche/PyncheWidget.py
index b6bd8f7..855c6f7 100644
--- a/Tools/pynche/PyncheWidget.py
+++ b/Tools/pynche/PyncheWidget.py
@@ -53,7 +53,7 @@ class PyncheWidget(Pmw.MegaWidget):
     def set_color(self, obj, rgbtuple):
 	print 'setting color to:', rgbtuple
 	nearest = self.__colordb.nearest(rgbtuple)
-	red, green, blue, rrggbb = self.__colordb.find_byname(nearest)
+	red, green, blue = self.__colordb.find_byname(nearest)
 	# for an exact match, use the color name
 	if (red, green, blue) == rgbtuple:
 	    self.__selected.configure(color=nearest)
-- 
cgit v0.12

