From 3b3c72fc75b5dff8a26c59b0d4bb7f8ef34a18e7 Mon Sep 17 00:00:00 2001 From: Vishvananda Ishaya Date: Sat, 2 Oct 2010 11:39:12 -0700 Subject: add missing to_dict --- nova/rpc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/rpc.py b/nova/rpc.py index 26eff9c55..feaa4f042 100644 --- a/nova/rpc.py +++ b/nova/rpc.py @@ -255,7 +255,7 @@ def call(context, topic, msg): msg_id = uuid.uuid4().hex msg.update({'_msg_id': msg_id}) LOG.debug("MSG_ID is %s" % (msg_id)) - msg.update({'_context': context}) + msg.update({'_context': context.to_dict()}) class WaitMessage(object): -- cgit