OSAPI: don't use toprettyxml() for XML responses
Bug #817580 reported by
William Wolf
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Brian Waldon |
Bug Description
We should be using toxml() instead of toprettyxml() for our xml responses. toprettyxml() will add indents and whitespace, and I think this is unnecessary.
Related branches
lp:~rackspace-titan/nova/remove-toprettyxml-lp817580
- Brian Lamar (community): Approve
- Dan Prince (community): Approve
- Mandell (community): Approve (community)
- William Wolf (community): Approve
-
Diff: 89 lines (+13/-19)3 files modifiednova/api/openstack/wsgi.py (+1/-1)
nova/tests/api/openstack/test_images.py (+6/-10)
nova/tests/api/openstack/test_limits.py (+6/-8)
Changed in nova: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
tags: | added: osapi-v1.1 |
Changed in nova: | |
assignee: | nobody → Brian Waldon (bcwaldon) |
Changed in nova: | |
status: | Triaged → In Progress |
Changed in nova: | |
status: | In Progress → Fix Committed |
Changed in nova: | |
milestone: | none → essex-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | essex-1 → 2012.1 |
To post a comment you must log in.
Waiting on lp:~rackspace-titan/nova/minidom-to-etree to get in before I tackle this.