Inconsistent use of xml libraries
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Chuck Short |
Bug Description
Most of the code base is using lxml.etree but there are a few places using xml.etree.
vishvananda@
nova/image/s3.py
27:from xml.etree import ElementTree
191: manifest = ElementTree.
nova/tests/
30:from xml.etree import ElementTree
111: tree = ElementTree.
nova/tests/
17:from xml.etree import ElementTree
19: ParseError = ElementTree.
144: tree = ElementTree.
166: tree = ElementTree.
304: disk_info = _parse_
310: disk_info = _parse_
407: tree = ElementTree.
744: tree = ElementTree.
nova/tests/
19:from xml.etree import ElementTree
255: ElementTree.
263: tree = ElementTree.
285: tree = ElementTree.
301: ElementTree.
nova/tests/
26:from xml.etree import ElementTree
154: tree = ElementTree.
193: tree = ElementTree.
216: tree = ElementTree.
231: tree = ElementTree.
253: tree = ElementTree.
725: tree = ElementTree.
747: tree = ElementTree.
788: tree = ElementTree.
804: tree = ElementTree.
817: tree = ElementTree.
830: tree = ElementTree.
929: tree = ElementTree.
1387: tree = ElementTree.
nova/tests/
17:from xml.etree import ElementTree
103: doc = ElementTree.
119: doc = ElementTree.
137: doc = ElementTree.
163: doc = ElementTree.
nova/tests/
18:from xml.etree import ElementTree
163: elem = ElementTree.
nova/virt/
53:from xml.etree import ElementTree
492: doc = ElementTree.
500: return ElementTree.
550: doc = ElementTree.
630: domain = ElementTree.
908: tree = ElementTree.
1463: doc = ElementTree.
1486: doc = ElementTree.
1519: doc = ElementTree.
1677: xml = ElementTree.
2073: doc = ElementTree.
nova/volume/
25:from xml.etree import ElementTree
955: result_xml = ElementTree.
981: result_xml = ElementTree.
nova/volume/san.py
33:from xml.etree import ElementTree
454: result_xml = ElementTree.
495: _xml = ElementTree.
nova/vsa/utils.py
19:from xml.etree import ElementTree
27: SubElement = ElementTree.
29: e_vsa = ElementTree.
79: _xml = ElementTree.
Changed in nova: | |
status: | New → Triaged |
importance: | Undecided → Low |
tags: | added: low-hanging-fruit |
Changed in nova: | |
assignee: | nobody → Mark McClain (markmcclain) |
Changed in nova: | |
assignee: | Mark McClain (markmcclain) → Chuck Short (zulcss) |
Changed in nova: | |
milestone: | none → folsom-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/5422
Review: https:/