mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
[XEND] Make sure UUID in state store are not stored as unicode
objects. Signed-off-by: Alastair Tse <atse@xensource.com>
This commit is contained in:
1 parent
697a75a8dd
commit
e5e2ccbed4
1 file changed
+1
-1
@@ -107,7 +107,7 @@ class XendStateStore:
|
||||
if child.nodeType != Node.ELEMENT_NODE:
|
||||
continue # skip non element nodes
|
||||
|
||||
uuid = child.getAttribute('uuid')
|
||||
uuid = child.getAttribute('uuid').encode('utf8')
|
||||
cls_dict = {}
|
||||
for val_elem in child.childNodes:
|
||||
if val_elem.nodeType != Node.ELEMENT_NODE:
|
||||
|
||||