diff options
author | vladimir.p <vladimir@zadarastorage.com> | 2011-08-24 16:48:04 -0700 |
---|---|---|
committer | vladimir.p <vladimir@zadarastorage.com> | 2011-08-24 16:48:04 -0700 |
commit | 08af6ab6325e27b60d3d036d6e780f8e594234cc (patch) | |
tree | 08cf95e9b1a5fd8e2486357a24bab8b07781ac55 /bin/nova-ajax-console-proxy | |
parent | 48cd9689de31e408c792052747f714a9dbe1f8f7 (diff) | |
parent | 96f85f94f23c9eeac3f43e122d2992b6d0938827 (diff) | |
download | nova-08af6ab6325e27b60d3d036d6e780f8e594234cc.tar.gz |
merged with volume_types. no code refactoring yet
Diffstat (limited to 'bin/nova-ajax-console-proxy')
-rwxr-xr-x | bin/nova-ajax-console-proxy | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/nova-ajax-console-proxy b/bin/nova-ajax-console-proxy index 2329581a23..0a789b4b9c 100755 --- a/bin/nova-ajax-console-proxy +++ b/bin/nova-ajax-console-proxy @@ -24,7 +24,6 @@ from eventlet import greenthread from eventlet.green import urllib2 import exceptions -import gettext import os import sys import time @@ -38,11 +37,11 @@ possible_topdir = os.path.normpath(os.path.join(os.path.abspath(sys.argv[0]), if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')): sys.path.insert(0, possible_topdir) -gettext.install('nova', unicode=1) from nova import flags from nova import log as logging from nova import rpc +from nova import service from nova import utils from nova import wsgi @@ -141,5 +140,5 @@ if __name__ == '__main__': acp = AjaxConsoleProxy() acp.register_listeners() server = wsgi.Server("AJAX Console Proxy", acp, port=acp_port) - server.start() - server.wait() + service.serve(server) + service.wait() |