summaryrefslogtreecommitdiffstats
path: root/openstack/common/processutils.py
diff options
context:
space:
mode:
authorRussell Bryant <rbryant@redhat.com>2012-12-01 09:51:17 -0500
committerRussell Bryant <rbryant@redhat.com>2012-12-01 10:16:41 -0500
commit202f56882928531ccfb10cff1426cb3a35e512a3 (patch)
tree9fe5bc4a6e9f51f76727f451e7b28f5d8cd1e71c /openstack/common/processutils.py
parent1fd7694e96da4c7e461d3c966fab1e81ee57c315 (diff)
downloadoslo-202f56882928531ccfb10cff1426cb3a35e512a3.tar.gz
oslo-202f56882928531ccfb10cff1426cb3a35e512a3.tar.xz
oslo-202f56882928531ccfb10cff1426cb3a35e512a3.zip
Use json instead of jsonutils in rpc.impl_fake.
The fake rpc backend uses json just to make sure the data that was passed in can be serialized. Our jsonutils module makes this check a no-op, because it will automatically convert the data we pass in as primitive types if needed. Change this module back to using the json module directly and add a comment about why we don't use jsonutils here. Also add a test that ensures that non-primitive types raise an exception in the fake rpc driver. Change-Id: I61f46242cb98c875a94d86283e30efb24cc580ad
Diffstat (limited to 'openstack/common/processutils.py')
0 files changed, 0 insertions, 0 deletions