Hi Chris,

Found another issue, 'itervalues' has gone in PY3.  Following is my work 
around, can you think of a nicer way of doing this?

             if six.PY2:
                 for Event in self._Canvas.HitDict.itervalues():
                     try:
                         del Event[self.HitColor]
                     except KeyError:
                         pass
             else:
                 for Event in self._Canvas.HitDict.values():
                     try:
                         del Event[self.HitColor]
                     except KeyError:
                         pass


Werner
_______________________________________________
FloatCanvas mailing list
[email protected]
http://mailman.paulmcnett.com/cgi-bin/mailman/listinfo/floatcanvas

Reply via email to