mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-16 22:50:10 +03:00
B #-: PyONE: don't strip whitespace in TEMPLATE (#1332)
This commit is contained in:
parent
de6d7dd150
commit
e201188e06
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user