From 476b580c5c6455cd7fb2cec35fc0c9597b9b3c24 Mon Sep 17 00:00:00 2001 From: Nicolas Clapies Date: Tue, 27 Jul 2004 09:57:45 +0000 Subject: Use LassoNode_get instead of LassoAssertion_get in user_add_assertion() --- python/environs/py_user.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'python/environs') diff --git a/python/environs/py_user.c b/python/environs/py_user.c index 6111e81d..3df41c46 100644 --- a/python/environs/py_user.c +++ b/python/environs/py_user.c @@ -25,11 +25,9 @@ #include "../lassomod.h" -#include "../xml/py_xml.h" - #include "py_user.h" +#include "../xml/py_xml.h" -#include "../protocols/elements/py_assertion.h" PyObject *LassoUser_wrap(LassoUser *user) { PyObject *ret; @@ -76,7 +74,7 @@ PyObject *user_add_assertion(PyObject *self, PyObject *args){ else return NULL; lasso_user_add_assertion(LassoUser_get(user_obj), remote_providerID, - LassoAssertion_get(assertion_obj)); + LassoNode_get(assertion_obj)); Py_INCREF(Py_None); return (Py_None); -- cgit