commit | 7bbbec1ed9e97032bee9bd48b48c725031f57709 | [log] [tgz] |
---|---|---|
author | guo yunxian <yunxian.guo@easystack.cn> | Sun Aug 21 20:03:10 2016 +0800 |
committer | Ken'ichi Ohmichi <ken1ohmichi@gmail.com> | Tue Jan 03 23:17:34 2017 +0000 |
tree | 79bb2613f56ceec1d8c0ba65bfce25a416c7a3f0 | |
parent | 1b8f6f00eedf957990d47bc423a48f0760adfb79 [diff] |
Replace six.iteritems with dict.items As [1] mentioned, we should use dict.items instead of six.iteritems. Let's use dict.items as it should return iterators in PY3 as well. (As for PY2, the performance about list should be negligible) [1] https://wiki.openstack.org/wiki/Python3 Change-Id: I77b3a71faa71b5f671daff3415e2ae58289fd3ca