]> review.fuel-infra Code Review - openstack-build/neutron-build.git/commit
Return unicode for object in json and xml serializer
authorHe Jie Xu <xuhj@linux.vnet.ibm.com>
Tue, 26 Mar 2013 23:42:20 +0000 (07:42 +0800)
committerHe Jie Xu <xuhj@linux.vnet.ibm.com>
Mon, 1 Apr 2013 09:51:10 +0000 (17:51 +0800)
commit26dca9ff02dc9eb9b431ea66ec60fb828b4ae0a5
treeb323691aef0eff9ec58a7f634b44d5824875f79c
parent9ac82eebbb42ef11b4800cd48187c533f76e944d
Return unicode for object in json and xml serializer

Fix bug 1160644
Fix bug 1119790

When try to serialize an exception object as json, it failed
with 'ValueError: Circular reference detected' that is same error
as bug 119790. So this patch fixes bug 119790 too.

Change-Id: I0da2616f4ec59da31be054b8be2f7a140f59d63a
quantum/api/v2/resource.py
quantum/tests/unit/test_api_v2_resource.py
quantum/tests/unit/test_wsgi.py
quantum/wsgi.py