diff options
author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-27 09:57:45 +0000 |
---|---|---|
committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-07-27 09:57:45 +0000 |
commit | 476b580c5c6455cd7fb2cec35fc0c9597b9b3c24 (patch) | |
tree | eebef5071e29f13d2db2d84204f18ee5cb117e46 | |
parent | 8db9e224686e787a7b4225302afd1b70006a5a4d (diff) | |
download | lasso-476b580c5c6455cd7fb2cec35fc0c9597b9b3c24.tar.gz lasso-476b580c5c6455cd7fb2cec35fc0c9597b9b3c24.tar.xz lasso-476b580c5c6455cd7fb2cec35fc0c9597b9b3c24.zip |
Use LassoNode_get instead of LassoAssertion_get in user_add_assertion()
-rw-r--r-- | python/environs/py_user.c | 6 |
1 files changed, 2 insertions, 4 deletions
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); |