summaryrefslogtreecommitdiffstats
path: root/extraconfig/nova_metadata/krb-service-principals.yaml
diff options
context:
space:
mode:
authorloooosy <syluo5695@fiberhome.com>2017-04-05 19:44:14 +0800
committerloooosy <syluo5695@fiberhome.com>2017-04-07 15:23:50 +0800
commitd72b0b9fac9b5a79a9a156b493d36395743dc5a7 (patch)
tree985d4c8e800ae3fe31e13a98f2df19fc904e4779 /extraconfig/nova_metadata/krb-service-principals.yaml
parent29faa38ddca3a91d6944bdda8daceda4dde2b128 (diff)
Replace six.iteritems() with .items()
1.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 PY3 as well. And dict.items/keys will more readable. 2.In py2, the performance about list should be negligible, see the link [2]. [1] https://wiki.openstack.org/wiki/Python3 [2] http://lists.openstack.org/pipermail/openstack-dev/2015-June/066391.html Change-Id: I7c8f540eced0731f4dfb1dfd045828b5a9bb6c67
Diffstat (limited to 'extraconfig/nova_metadata/krb-service-principals.yaml')
0 files changed, 0 insertions, 0 deletions