summaryrefslogtreecommitdiff
path: root/glanceclient/v1/apiclient/exceptions.py
Commit message (Collapse)AuthorAgeFilesLines
* Do not use the six library.Cyril Roelandt2020-06-231-3/+1
| | | | Change-Id: I3dbfcfa0f5f590a41ed549afd44537d8ed41433a
* Replace six.iteritems() with .items()ji-xuepeng2017-02-081-1/+1
| | | | | | | | | | | | | 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
* Move old oslo-incubator code out of openstack/commonAbhishek Kekane2016-11-081-0/+477
As part of the first community-wide goal, teams were asked to remove the openstack/common package of their projects if one existed. This was a byproduct of the old oslo-incubator form of syncing common functionality. Package openstack/common/apiclient is moved to glanceclient/v1 package as it is used by v1 api only. NOTE: Removed glanceclient/common/base.py as it is deprecated and not used anywhere. Closes-Bug: #1639487 Change-Id: Ib3ac09743ce761ab0186e99e1c9de02517f89510