As mentioned in [1], we should avoid using six.iteritems() to achieve iterators. We can use dict.items() instead, as it will return iterators in Python 3 as well, and it is more readable. In Python 2, the overhead of dict.items() creating a new list should be negligible for most use cases in OpenStack [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: I620c9cc201c62f033a5467aa52625b56e19933cb