Commit ba549892 authored by Nicolas Delaby's avatar Nicolas Delaby

typo

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@32856 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ffcfd26d
...@@ -959,7 +959,8 @@ class ListWidget(SingleItemsWidget): ...@@ -959,7 +959,8 @@ class ListWidget(SingleItemsWidget):
#required by lxml #required by lxml
value = value.decode('utf-8') value = value.decode('utf-8')
text_node = Element('{%s}%s' % (TEXT_URI, local_name), nsmap=NSMAP) text_node = Element('{%s}%s' % (TEXT_URI, local_name), nsmap=NSMAP)
global parent_node = text_node global parent_node
parent_node = text_node
RE_OOO_ESCAPE.sub(ooo_escape, value) RE_OOO_ESCAPE.sub(ooo_escape, value)
text_node.attrib.update(attr_dict) text_node.attrib.update(attr_dict)
if as_string: if as_string:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment