Browse Source

Merge pull request #168 from soheilhassasyeganeh/master

Fix nova flag API change
Joel Martin 13 years ago
parent
commit
cb3ad1b5b5
1 changed files with 1 additions and 2 deletions
  1. 1 2
      utils/nova-novncproxy

+ 1 - 2
utils/nova-novncproxy

@@ -132,8 +132,7 @@ if __name__ == '__main__':
         parser.error("SSL only and %s not found" % FLAGS.cert)
 
     # Setup flags
-    utils.default_cfgfile()
-    FLAGS(sys.argv)
+    flags.parse_args(sys.argv)
 
     # Create and start the NovaWebSockets proxy
     server = NovaWebSocketProxy(listen_host=FLAGS.novncproxy_host,