[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:
Alastair Tse committed 2007-01-24 13:58:06 +00:00
1 parent 697a75a8dd
commit e5e2ccbed4
1 file changed
+1 -1
+1 -1
View File
@@ -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:
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.