remove debug elements in search
authorymh <ymh.work@gmail.com>
Wed, 17 Aug 2011 19:15:04 +0200
changeset 134 f43aac310c17
parent 133 80546343b3ca
child 136 37496f2c1fa9
remove debug elements in search
src/ldt/ldt/ldt_utils/utils.py
--- a/src/ldt/ldt/ldt_utils/utils.py	Wed Aug 17 18:44:36 2011 +0200
+++ b/src/ldt/ldt/ldt_utils/utils.py	Wed Aug 17 19:15:04 2011 +0200
@@ -98,11 +98,8 @@
 
         annotations = lxml.etree.SubElement(iri, "annotations")
         if len(annotations_nodes) > 0:
-            a = lxml.etree.SubElement(annotations, "a1")
             for content in contentList:
-                b = lxml.etree.SubElement(annotations, "b1")
                 if content.iri_id in annotations_nodes:
-                    b = lxml.etree.SubElement(annotations, "c1")
                     contentnode = annotations_nodes[content.iri_id]
                     if contentnode is not None:
                         content_node = lxml.etree.SubElement(annotations, "content")