Commit ca781831 authored by Anthony Young's avatar Anthony Young

Use explicit check for rpc.register_opts

parent 901e5655
......@@ -69,10 +69,8 @@ FLAGS.register_cli_opts(opts)
# As of nova commit 0b11668e64450039dc071a4a123abd02206f865f we must
# manually register the rpc library
try:
if hasattr(rpc, 'register_opts'):
rpc.register_opts(FLAGS)
except:
pass
class NovaWebSocketProxy(wsproxy.WebSocketProxy):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment