From d7300f8f568df7b3bdd170376ec79b68eab016eb Mon Sep 17 00:00:00 2001 From: Barry Warsaw Date: Wed, 18 Feb 1998 00:06:20 +0000 Subject: [PATCH] __modified(): Make sure `rgbs' is a tuple --- Tools/pynche/TypeinViewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/pynche/TypeinViewer.py b/Tools/pynche/TypeinViewer.py index d25eb827a9c..44c4b3629ae 100644 --- a/Tools/pynche/TypeinViewer.py +++ b/Tools/pynche/TypeinViewer.py @@ -93,7 +93,7 @@ class TypeinWidget(Pmw.MegaWidget): def __modified(self): # these are guaranteed to be valid, right? vals = map(lambda x: x.get(), (self.__x, self.__y, self.__z)) - rgbs = map(self.__str_to_int, vals) + rgbs = tuple(map(self.__str_to_int, vals)) valids = map(self.__validate, vals) delegate = self['delegate'] if (None not in rgbs) and (-1 not in valids) and delegate: