From 4845fc2720a0ab3ff4f15fc8f3f00573b617ce5b Mon Sep 17 00:00:00 2001 From: Joe Gordon Date: Thu, 17 Jan 2013 18:06:53 -0500 Subject: Fix hacking N302 import only modules * Includes some general tools/hacking cleanup * Fix several N302 cases * Disable N302 until all cases are fixed Change-Id: Iddba07ff13e10dc41a6930749044bb8c0572d279 --- bin/nova-spicehtml5proxy | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bin/nova-spicehtml5proxy') diff --git a/bin/nova-spicehtml5proxy b/bin/nova-spicehtml5proxy index 089ff9d71..161ccee7c 100755 --- a/bin/nova-spicehtml5proxy +++ b/bin/nova-spicehtml5proxy @@ -25,7 +25,7 @@ import os import sys from nova import config -from nova.console import websocketproxy as ws +from nova import console from nova.openstack.common import cfg @@ -77,7 +77,8 @@ if __name__ == '__main__': sys.exit(-1) # Create and start the NovaWebSockets proxy - server = ws.NovaWebSocketProxy(listen_host=CONF.spicehtml5proxy_host, + server = console.websocketproxy.NovaWebSocketProxy( + listen_host=CONF.spicehtml5proxy_host, listen_port=CONF.spicehtml5proxy_port, source_is_ipv6=CONF.source_is_ipv6, verbose=CONF.verbose, -- cgit