summaryrefslogtreecommitdiff
path: root/glanceclient/common/https.py
diff options
context:
space:
mode:
authorErno Kuvaja <jokke@hp.com>2015-02-25 12:17:24 +0000
committerErno Kuvaja <jokke@hp.com>2015-02-25 12:17:24 +0000
commit2d67dfa97a7f3cdedf9e2eb80178fac6160bc811 (patch)
tree907e9adf3ce3a3ba52f30c2a4e225c849077cd83 /glanceclient/common/https.py
parent519672f5d5251ea193f08f967a9216848d209916 (diff)
downloadpython-glanceclient-2d67dfa97a7f3cdedf9e2eb80178fac6160bc811.tar.gz
Unify using six.moves.range rename everywhere
Mainly to improve consistency, use range() from six.moves renames across glance. Behaves consistently like py2 xrange() and py3 range(). Change-Id: I7c573a3a9775f454b98d25f2a14f8e9f5f4ac432
Diffstat (limited to 'glanceclient/common/https.py')
-rw-r--r--glanceclient/common/https.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/glanceclient/common/https.py b/glanceclient/common/https.py
index ac140e4..e62ea6e 100644
--- a/glanceclient/common/https.py
+++ b/glanceclient/common/https.py
@@ -28,6 +28,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