~ubuntu-branches/ubuntu/quantal/nova/quantal-proposed

« back to all changes in this revision

Viewing changes to nova/openstack/common/rpc/impl_fake.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2012-08-16 14:04:11 UTC
  • mto: This revision was merged to the branch mainline in revision 84.
  • Revision ID: package-import@ubuntu.com-20120816140411-0mr4n241wmk30t9l
Tags: upstream-2012.2~f3
ImportĀ upstreamĀ versionĀ 2012.2~f3

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
"""
19
19
 
20
20
import inspect
21
 
import json
22
21
import time
23
22
 
24
23
import eventlet
25
24
 
 
25
from nova.openstack.common import jsonutils
26
26
from nova.openstack.common.rpc import common as rpc_common
27
27
 
28
28
CONSUMERS = {}
121
121
 
122
122
def check_serialize(msg):
123
123
    """Make sure a message intended for rpc can be serialized."""
124
 
    json.dumps(msg)
 
124
    jsonutils.dumps(msg)
125
125
 
126
126
 
127
127
def multicall(conf, context, topic, msg, timeout=None):