From f17fca75b0766caeba992bd62ab9c87cc6a79acc Mon Sep 17 00:00:00 2001 From: Nima Talebi Date: Sat, 23 May 2009 15:21:42 +1000 Subject: Completed test case Removed trailing spaces from xml data file. Commented out fprintf()s for now (Perhapse should add them to the debug build at least). --- src/xmlpythonizer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/xmlpythonizer.c') diff --git a/src/xmlpythonizer.c b/src/xmlpythonizer.c index dceeaa2..f1d755e 100644 --- a/src/xmlpythonizer.c +++ b/src/xmlpythonizer.c @@ -672,7 +672,7 @@ PyObject *_deep_pythonize(PyObject *retdata, ptzMAP *map_p, xmlNode *data_n, int char msg[8094]; snprintf(msg, 8092, "Could not locate XML path node: %s (Defining key: %s)%c", map_p->value, map_p->key, 0); - fprintf(stderr, msg); + //fprintf(stderr, msg); PyErr_SetString(PyExc_LookupError, msg); if( xpo != NULL ) { @@ -765,7 +765,7 @@ PyObject *pythonizeXMLnode(ptzMAP *in_map, xmlNode *data_n) { char msg[8094]; snprintf(msg, 8092, "Could not locate XML path node: %s (Defining key: %s)%c", map_p->rootpath, map_p->key, 0); - fprintf(stderr, msg); + //fprintf(stderr, msg); PyErr_SetString(PyExc_LookupError, msg); if( xpo != NULL ) { -- cgit