diff options
author | Takashi Natsume <takanattie@gmail.com> | 2020-05-12 14:52:10 +0000 |
---|---|---|
committer | Takashi Natsume <takanattie@gmail.com> | 2020-11-07 03:25:02 +0000 |
commit | 1d0a0e8c2068c01366575bb989f15c2fd8962154 (patch) | |
tree | 00b00c39ff7782108ccaafb309fefa08ad9fd71f /nova/storage | |
parent | 4ac4a04d1843b0450e8d6d80189ce3e85253dcd0 (diff) | |
download | nova-1d0a0e8c2068c01366575bb989f15c2fd8962154.tar.gz |
Remove six.moves
Replace the following items with Python 3 style code.
- six.moves.configparser
- six.moves.StringIO
- six.moves.cStringIO
- six.moves.urllib
- six.moves.builtins
- six.moves.range
- six.moves.xmlrpc_client
- six.moves.http_client
- six.moves.http_cookies
- six.moves.queue
- six.moves.zip
- six.moves.reload_module
- six.StringIO
- six.BytesIO
Subsequent patches will replace other six usages.
Change-Id: Ib2c406327fef2fb4868d8050fc476a7d17706e23
Implements: blueprint six-removal
Signed-off-by: Takashi Natsume <takanattie@gmail.com>
Diffstat (limited to 'nova/storage')
-rw-r--r-- | nova/storage/rbd_utils.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nova/storage/rbd_utils.py b/nova/storage/rbd_utils.py index b22d9ac4e2..d4197271e9 100644 --- a/nova/storage/rbd_utils.py +++ b/nova/storage/rbd_utils.py @@ -14,8 +14,9 @@ # License for the specific language governing permissions and limitations # under the License. +import urllib + from eventlet import tpool -from six.moves import urllib from oslo_concurrency import processutils from oslo_log import log as logging |