summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/pythonmap.xml2
-rw-r--r--src/xmlpythonizer.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/pythonmap.xml b/src/pythonmap.xml
index b2d2d31..f4f8336 100644
--- a/src/pythonmap.xml
+++ b/src/pythonmap.xml
@@ -288,7 +288,7 @@
<Map keytype="constant" key="data" valuetype="dict">
<Map keytype="constant" key="Designation" valuetype="string" value="Designation"/>
<Map keytype="constant" key="Current Usage" valuetype="string" value="CurrentUsage"/>
- <Map keytype="constant" key="Characteristics"
+ <Map keytype="constant" key="Characteristics"
valuetype="list:string" value="SlotCharacteristics/Characteristic"
fixedsize="10" index_attr="index"/>
<Map keytype="constant" key="SlotLength" valuetype="string" value="SlotLength"/>
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 ) {