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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/python/xml/py_xml.c b/python/xml/py_xml.c
index b23e0ec3..bf5aa97f 100644
--- a/python/xml/py_xml.c
+++ b/python/xml/py_xml.c
@@ -144,7 +144,6 @@ PyObject *node_export_to_soap(PyObject *self, PyObject *args) {
PyObject *node_get_attr_value(PyObject *self, PyObject *args) {
PyObject *node_obj;
const xmlChar *name;
- GError *err = NULL;
xmlChar *ret;
if (CheckArgs(args, "OS:node_get_attr_value")) {
@@ -154,9 +153,8 @@ PyObject *node_get_attr_value(PyObject *self, PyObject *args) {
}
else return NULL;
- ret = lasso_node_get_attr_value(LassoNode_get(node_obj), name, &err);
+ ret = lasso_node_get_attr_value(LassoNode_get(node_obj), name, NULL);
/* FIXME generate an exception here */
- g_error_free(err);
return (xmlCharPtr_wrap(ret));
}