Make jsonutils.dumps more general

Bug #1009848 reported by Zhongyue Luo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-common
Fix Released
Undecided
Zhongyue Luo

Bug Description

The module keystone/common/wsgi.py in Keystone passes SmarterEncoder as a cls parameter to json.dumps. Also, in glance/common/wsgi.py, json.dumps receives a default parameter from its caller. Rather than fixing the decoding logic it is better to let jsonutils.dumps be more flexible.

Zhongyue Luo (zyluo)
Changed in openstack-common:
assignee: nobody → Zhongyue Luo (lzyeval)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to openstack-common (master)

Fix proposed to branch: master
Review: https://review.openstack.org/8273

Changed in openstack-common:
status: New → In Progress
Zhongyue Luo (zyluo)
summary: - Allow passing cls to jsonutils.dumps
+ Make jsonutils.dumps more general
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-common (master)

Reviewed: https://review.openstack.org/8273
Committed: http://github.com/openstack/openstack-common/commit/5fc561c95fd391339030809d9958a3ef45505742
Submitter: Jenkins
Branch: master

commit 5fc561c95fd391339030809d9958a3ef45505742
Author: Zhongyue Luo <email address hidden>
Date: Thu Jun 7 14:08:38 2012 +0800

    Make jsonutils.dumps more general

    Fixes bug #1009848

    Fixed jsonutils.dumps to receive other parameters

    Change-Id: I34836ae89359bccb689a36a7b486e85bb41d70e4

Changed in openstack-common:
status: In Progress → Fix Committed
Mark McLoughlin (markmc)
Changed in openstack-common:
milestone: none → 2012.2
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.