summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSoheil Hassas Yeganeh <soheil@cs.toronto.edu>2012-06-06 21:26:25 -0300
committerSoheil Hassas Yeganeh <soheil@cs.toronto.edu>2012-06-06 21:26:25 -0300
commit9e2351f5eb70df5f333299ea9829a14f23a78a70 (patch)
treec816bc6872f7bfae2af4bf92804c2cf81accec34
parent72a5596e50471039e16b49f6c15d0b02576cb7ae (diff)
downloadnovnc-9e2351f5eb70df5f333299ea9829a14f23a78a70.tar.gz
Switch to nova's new flag API.
-rwxr-xr-xutils/nova-novncproxy3
1 files changed, 1 insertions, 2 deletions
diff --git a/utils/nova-novncproxy b/utils/nova-novncproxy
index a6fce14..6c56740 100755
--- a/utils/nova-novncproxy
+++ b/utils/nova-novncproxy
@@ -132,8 +132,7 @@ if __name__ == '__main__':
parser.error("SSL only and %s not found" % FLAGS.cert)
# Setup flags
- utils.default_flagfile()
- FLAGS(sys.argv)
+ flags.parse_args(sys.argv)
# Create and start the NovaWebSockets proxy
server = NovaWebSocketProxy(listen_host=FLAGS.novncproxy_host,