summaryrefslogtreecommitdiffstats
path: root/python/xml/py_xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'python/xml/py_xml.c')
-rw-r--r--python/xml/py_xml.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/xml/py_xml.c b/python/xml/py_xml.c
index 814c2304..83636187 100644
--- a/python/xml/py_xml.c
+++ b/python/xml/py_xml.c
@@ -171,7 +171,8 @@ PyObject *node_get_child(PyObject *self, PyObject *args) {
}
else return NULL;
- ret = lasso_node_get_child(LassoNode_get(node_obj), name, href);
+ ret = lasso_node_get_child(LassoNode_get(node_obj), name, href, NULL);
+ /* FIXME generate an exception here */
return (LassoNode_wrap(ret));
}
@@ -187,7 +188,8 @@ PyObject *node_get_content(PyObject *self, PyObject *args) {
}
else return NULL;
- ret = lasso_node_get_content(LassoNode_get(node_obj));
+ ret = lasso_node_get_content(LassoNode_get(node_obj), NULL);
+ /* FIXME generate an exception here */
return (xmlCharPtr_wrap(ret));
}