From 2d67dfa97a7f3cdedf9e2eb80178fac6160bc811 Mon Sep 17 00:00:00 2001 From: Erno Kuvaja Date: Wed, 25 Feb 2015 12:17:24 +0000 Subject: 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 --- glanceclient/common/https.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'glanceclient/common/https.py') 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 -- cgit v1.2.1