Author: ArcRiley
Date: 2009-03-03 23:35:00 -0500 (Tue, 03 Mar 2009)
New Revision: 1544

Modified:
   trunk/concordance/src/_core/step.c
Log:
fixed TreeBuilder.close() call

Modified: trunk/concordance/src/_core/step.c
===================================================================
--- trunk/concordance/src/_core/step.c  2009-03-04 04:34:57 UTC (rev 1543)
+++ trunk/concordance/src/_core/step.c  2009-03-04 04:35:00 UTC (rev 1544)
@@ -145,12 +145,10 @@
       cdef :                                                              \*/
         concordMsg_xmlClose* msg = (concordMsg_xmlClose*) pmsg;
 
-      printf("close-----------------------\n");        
-
       /* get root element from TreeBuilder's close */
-      temp = PyEval_CallMethod(*msg->tree, "close", "");
+      temp = PyEval_CallMethod(*msg->tree, "close", "()");
       if (!temp)
-        break;
+        BREAKNULL;
       
       output = PyEval_CallMethod(msg->self, "xml", "(O)", temp);
       if (!output)

_______________________________________________
PySoy-SVN mailing list
PySoy-SVN@pysoy.org
http://www.pysoy.org/mailman/listinfo/pysoy-svn

Reply via email to