mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
B #-: PyONE: don't strip whitespace in TEMPLATE (#1332)
(cherry picked from commit e201188e064e4b7a35205a66cdf4c7c64ca243dd) (cherry picked from commit a91349ee650ad3a078942a4f1974b707998eb8bf)
This commit is contained in:
parent
839ece0f22
commit
36d1e3b2ca
@ -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