summaryrefslogtreecommitdiff
path: root/nova/console/websocketproxy.py
diff options
context:
space:
mode:
authordineshbhor <dinesh.bhor@nttdata.com>2016-01-20 04:34:57 -0800
committerdineshbhor <dinesh.bhor@nttdata.com>2016-01-20 05:03:41 -0800
commit65806634f937cae1b11d4d5d166a0783bf56a9d3 (patch)
tree6e1d15711ecf8c032c5a523a6fe318d85cccab08 /nova/console/websocketproxy.py
parent806113e4f413dba0f3dff980a00946e016dd4c7d (diff)
downloadnova-65806634f937cae1b11d4d5d166a0783bf56a9d3.tar.gz
Fix invalid import order
Make corrections in import order for six, mock, oslo_config as per OpenStack import standards [1]. [1] http://docs.openstack.org/developer/hacking/#import-order-template TrivialFix Change-Id: Iea1103544c1ec03ca8665ce1248d93437ef5511a
Diffstat (limited to 'nova/console/websocketproxy.py')
-rw-r--r--nova/console/websocketproxy.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/console/websocketproxy.py b/nova/console/websocketproxy.py
index 6b57380f38..7dc68e16f8 100644
--- a/nova/console/websocketproxy.py
+++ b/nova/console/websocketproxy.py
@@ -18,19 +18,19 @@ Websocket proxy that is compatible with OpenStack Nova.
Leverages websockify.py by Joel Martin
'''
-from six.moves import http_cookies as Cookie
-import six.moves.urllib.parse as urlparse
import socket
import sys
+from oslo_config import cfg
from oslo_log import log as logging
+from six.moves import http_cookies as Cookie
+import six.moves.urllib.parse as urlparse
import websockify
from nova.consoleauth import rpcapi as consoleauth_rpcapi
from nova import context
from nova import exception
from nova.i18n import _
-from oslo_config import cfg
LOG = logging.getLogger(__name__)