From 9e2351f5eb70df5f333299ea9829a14f23a78a70 Mon Sep 17 00:00:00 2001 From: Soheil Hassas Yeganeh Date: Wed, 6 Jun 2012 21:26:25 -0300 Subject: [PATCH] Switch to nova's new flag API. --- utils/nova-novncproxy | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/utils/nova-novncproxy b/utils/nova-novncproxy index a6fce14b..6c56740d 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,