Redmine #3116 example comment bugfix
This commit is contained in:
parent
9e98ca4a6c
commit
1e9969c94b
@ -171,7 +171,7 @@ def get_max_id(root):
|
|||||||
def create_xml_structure(syntactic_structure):
|
def create_xml_structure(syntactic_structure):
|
||||||
structure_element = lxml.Element('syntactic_structure')
|
structure_element = lxml.Element('syntactic_structure')
|
||||||
structure_element.set('tempId', str(syntactic_structure.id))
|
structure_element.set('tempId', str(syntactic_structure.id))
|
||||||
comment = lxml.Comment(' example: ' + syntactic_structure.example)
|
comment = lxml.Comment(' example: ' + syntactic_structure.example + ' ')
|
||||||
structure_element.append(comment)
|
structure_element.append(comment)
|
||||||
structure_element.set('type', 'other')
|
structure_element.set('type', 'other')
|
||||||
components = lxml.SubElement(structure_element, 'components')
|
components = lxml.SubElement(structure_element, 'components')
|
||||||
|
Loading…
Reference in New Issue
Block a user