mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-04 22:21:36 +09:00
B #-: PyONE: don't strip whitespace in TEMPLATE (#1332)
(cherry picked from commite201188e06) (cherry picked from commita91349ee65)
This commit is contained in:
1 parent
839ece0f22
commit
36d1e3b2ca
1 file changed
+1
-1
@@ -94,7 +94,7 @@ def child2dict(element):
|
||||
'''
|
||||
|
||||
xml = tostring(element)
|
||||
ret = xmltodict.parse(xml)
|
||||
ret = xmltodict.parse(xml, strip_whitespace=False)
|
||||
|
||||
# get the tag name and remove the ns attribute if present
|
||||
if "}" in element.tag:
|
||||
|
||||
Reference in new issue
Block a user