Victor Stinner b923e0f892 Python 3: dict.iteritems() and dict.itervalues()
* Replace dict.itervalues() with dict.values(). The Python 3 dict
  type has no itervalues() method, the old itervalues() method was
  renamed to values().
* Same change for dict.iteritems(), replaced with dict.items()
* Exception: use six.itervalues() to yield on sock_data_by_port

Using six.itervalues() and six.iteritems() would make the code less
readable. The overhead of creating a temporary list is considered as
negligible:
http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html

Change-Id: Ifbe7faa16d419e7fe26f1fb464019b83c9171c45
2016-06-23 17:31:25 +02:00
..
2016-06-02 16:49:32 +00:00