python-glanceclient/glanceclient
ji-xuepeng 5fca39dbde Replace six.iteritems() with .items()
1.As mentioned in [1], we should avoid usingg
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: I71c13040318eca6e5ed993e8aa03f8003986a71c
2017-02-08 16:33:46 +08:00
..
common Replace six.iteritems() with .items() 2017-02-08 16:33:46 +08:00
tests Replace six.iteritems() with .items() 2017-02-08 16:33:46 +08:00
v1 Replace six.iteritems() with .items() 2017-02-08 16:33:46 +08:00
v2 Replace six.iteritems() with .items() 2017-02-08 16:33:46 +08:00
__init__.py Enable flake8 checks 2015-07-21 17:08:27 +03:00
_i18n.py Do not fall back to namespaced oslo.i18n 2015-06-24 16:56:56 -05:00
client.py Use import_versioned_module from oslo.utils 2016-12-06 09:35:55 +00:00
exc.py py3: Fix encoding and use sys.stdin.buffer 2016-07-25 20:13:08 +05:30
shell.py Merge "Handle formatting of subcommand name in error output" 2017-01-13 19:35:35 +00:00