devtools/instrument.py
changeset 10662 10942ed172de
parent 10589 7c23b7de2b8d
--- a/devtools/instrument.py	Tue Sep 08 18:04:57 2015 +0200
+++ b/devtools/instrument.py	Tue Sep 15 16:15:03 2015 +0200
@@ -186,7 +186,7 @@
 
     def add_colors_legend(self, graph):
         """Add a legend of used colors to the graph."""
-        for package, color in sorted(_COLORS.iteritems()):
+        for package, color in sorted(_COLORS.items()):
             graph.add_node(package, color=color, fontcolor=color, shape='record')