[Lxml-checkins] r46659 - lxml/trunk/src/lxml

scoder at codespeak.net scoder at codespeak.net
Sat Sep 15 22:14:41 CEST 2007


Author: scoder
Date: Sat Sep 15 22:14:40 2007
New Revision: 46659

Modified:
   lxml/trunk/src/lxml/objectify.pyx
Log:
compile fixes

Modified: lxml/trunk/src/lxml/objectify.pyx
==============================================================================
--- lxml/trunk/src/lxml/objectify.pyx	(original)
+++ lxml/trunk/src/lxml/objectify.pyx	Sat Sep 15 22:14:40 2007
@@ -192,14 +192,14 @@
         """Returns a sequence of all direct children.  The elements are
         returned in document order.
         """
-        cdef xmlNode* c_node
+        cdef tree.xmlNode* c_node
         cdef int ret
         result = []
         c_node = self._c_node.children
         while c_node is not NULL:
-            if _isElement(c_node):
+            if tree._isElement(c_node):
                 ret = python.PyList_Append(
-                    result, _elementFactory(self._doc, c_node))
+                    result, cetree.elementFactory(self._doc, c_node))
                 if ret:
                     raise
             c_node = c_node.next


More information about the lxml-checkins mailing list