summaryrefslogtreecommitdiff
path: root/nova/console/websocketproxy.py
diff options
context:
space:
mode:
authorTakashi Natsume <takanattie@gmail.com>2020-05-12 14:52:10 +0000
committerTakashi Natsume <takanattie@gmail.com>2020-11-07 03:25:02 +0000
commit1d0a0e8c2068c01366575bb989f15c2fd8962154 (patch)
tree00b00c39ff7782108ccaafb309fefa08ad9fd71f /nova/console/websocketproxy.py
parent4ac4a04d1843b0450e8d6d80189ce3e85253dcd0 (diff)
downloadnova-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/console/websocketproxy.py')
-rw-r--r--nova/console/websocketproxy.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/console/websocketproxy.py b/nova/console/websocketproxy.py
index 5f2985dfbb..77331a8773 100644
--- a/nova/console/websocketproxy.py
+++ b/nova/console/websocketproxy.py
@@ -19,15 +19,15 @@ Leverages websockify.py by Joel Martin
'''
import copy
+from http import cookies as Cookie
import socket
import sys
+from urllib import parse as urlparse
from oslo_log import log as logging
from oslo_utils import encodeutils
from oslo_utils import importutils
import six
-from six.moves import http_cookies as Cookie
-import six.moves.urllib.parse as urlparse
import websockify
from nova.compute import rpcapi as compute_rpcapi