Merge "Unify using six.moves.range rename everywhere"
This commit is contained in:
commit
547dc2fcfb
@ -26,6 +26,8 @@ from oslo.vmware import constants
|
|||||||
from oslo_config import cfg
|
from oslo_config import cfg
|
||||||
from oslo_utils import excutils
|
from oslo_utils import excutils
|
||||||
from oslo_utils import units
|
from oslo_utils import units
|
||||||
|
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
|
||||||
|
from six.moves import range
|
||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
import glance_store
|
import glance_store
|
||||||
|
@ -32,6 +32,8 @@ import httplib2
|
|||||||
import logging
|
import logging
|
||||||
|
|
||||||
from oslo.serialization import jsonutils
|
from oslo.serialization import jsonutils
|
||||||
|
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
|
||||||
|
from six.moves import range
|
||||||
import six.moves.urllib.parse as urlparse
|
import six.moves.urllib.parse as urlparse
|
||||||
|
|
||||||
from glance_store import exceptions
|
from glance_store import exceptions
|
||||||
|
@ -28,6 +28,8 @@ import uuid
|
|||||||
import fixtures
|
import fixtures
|
||||||
from oslo_utils import units
|
from oslo_utils import units
|
||||||
import six
|
import six
|
||||||
|
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
|
||||||
|
from six.moves import range
|
||||||
|
|
||||||
from glance_store._drivers.filesystem import ChunkedFile
|
from glance_store._drivers.filesystem import ChunkedFile
|
||||||
from glance_store._drivers.filesystem import Store
|
from glance_store._drivers.filesystem import Store
|
||||||
|
@ -28,6 +28,8 @@ from oslo_utils import units
|
|||||||
from oslotest import moxstubout
|
from oslotest import moxstubout
|
||||||
import requests_mock
|
import requests_mock
|
||||||
import six
|
import six
|
||||||
|
# NOTE(jokke): simplified transition to py3, behaves like py2 xrange
|
||||||
|
from six.moves import range
|
||||||
import StringIO
|
import StringIO
|
||||||
import swiftclient
|
import swiftclient
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user