diff options
| author | Jenkins <jenkins@review.openstack.org> | 2015-03-04 16:29:50 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2015-03-04 16:29:50 +0000 |
| commit | ab52bf3ce2a2a7e42b48b499b56741d6dbe7c0df (patch) | |
| tree | dd96a96d34646f939190136ce4962f5108aec044 | |
| parent | 5ce1de9da47d0874ee2bf920fdb421c750bc1e89 (diff) | |
| parent | 2d67dfa97a7f3cdedf9e2eb80178fac6160bc811 (diff) | |
| download | python-glanceclient-ab52bf3ce2a2a7e42b48b499b56741d6dbe7c0df.tar.gz | |
Merge "Unify using six.moves.range rename everywhere"
| -rw-r--r-- | glanceclient/common/https.py | 2 | ||||
| -rw-r--r-- | tests/test_utils.py | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/glanceclient/common/https.py b/glanceclient/common/https.py index f7f5f68..e3a4780 100644 --- a/glanceclient/common/https.py +++ b/glanceclient/common/https.py @@ -27,6 +27,8 @@ except ImportError: from oslo_utils import encodeutils import six +# NOTE(jokke): simplified transition to py3, behaves like py2 xrange +from six.moves import range from glanceclient.common import utils diff --git a/tests/test_utils.py b/tests/test_utils.py index a8677c4..564d7f6 100644 --- a/tests/test_utils.py +++ b/tests/test_utils.py @@ -16,6 +16,8 @@ import sys import six +# NOTE(jokke): simplified transition to py3, behaves like py2 xrange +from six.moves import range import testtools from glanceclient.common import utils |
