diff options
author | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 15:21:42 +1000 |
---|---|---|
committer | Nima Talebi <nima@autonomy.net.au> | 2009-05-23 15:21:42 +1000 |
commit | f17fca75b0766caeba992bd62ab9c87cc6a79acc (patch) | |
tree | 8b2b4187a01b9fe26c76f37ca76ca8218ed54873 /src/xmlpythonizer.c | |
parent | a18a72fab2a622077d5257003b09be30ab283339 (diff) | |
download | python-dmidecode-f17fca75b0766caeba992bd62ab9c87cc6a79acc.tar.gz python-dmidecode-f17fca75b0766caeba992bd62ab9c87cc6a79acc.tar.xz python-dmidecode-f17fca75b0766caeba992bd62ab9c87cc6a79acc.zip |
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).
Diffstat (limited to 'src/xmlpythonizer.c')
-rw-r--r-- | src/xmlpythonizer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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 ) { |