From 20ad4bbca9220b7153b03e1bee4215dc32466d6a Mon Sep 17 00:00:00 2001 From: Tony S Yu Date: Sat, 28 Sep 2013 18:40:43 -0500 Subject: [PATCH] Fix the same Py3 incompatibility in a different place --- skimage/novice/_novice.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/novice/_novice.py b/skimage/novice/_novice.py index 8dcd3785..6c43d73f 100644 --- a/skimage/novice/_novice.py +++ b/skimage/novice/_novice.py @@ -13,7 +13,7 @@ from skimage._shared import six # Convert colors from `skimage.color` to uint8 and allow access through # dict or a named tuple. color_dict = dict((name, tuple(int(255 * c + 0.5) for c in rgb)) - for name, rgb in color_dict.iteritems()) + for name, rgb in six.iteritems(color_dict)) colors = namedtuple('colors', color_dict.keys())(**color_dict)