1
0
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:
Jan Orel 2021-06-24 12:38:44 +02:00 committed by GitHub
parent de6d7dd150
commit e201188e06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: