diff options
author | Nicolas Clapies <nclapies@entrouvert.com> | 2004-08-05 15:48:06 +0000 |
---|---|---|
committer | Nicolas Clapies <nclapies@entrouvert.com> | 2004-08-05 15:48:06 +0000 |
commit | fc837435a657075769c4ecdafcf9a0ec06e5238b (patch) | |
tree | 131966c7bd4ee2f6eeea4391ccedf63f7c9f3416 | |
parent | 8895c1da920efe28b9242f08bd62ef25963f3262 (diff) | |
download | lasso-fc837435a657075769c4ecdafcf9a0ec06e5238b.tar.gz lasso-fc837435a657075769c4ecdafcf9a0ec06e5238b.tar.xz lasso-fc837435a657075769c4ecdafcf9a0ec06e5238b.zip |
*** empty log message ***
-rw-r--r-- | python/environs/py_lecp.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/python/environs/py_lecp.c b/python/environs/py_lecp.c index b8f17a41..301c79a5 100644 --- a/python/environs/py_lecp.c +++ b/python/environs/py_lecp.c @@ -59,9 +59,14 @@ PyObject *lecp_getattr(PyObject *self, PyObject *args) { lecp = LassoLecp_get(lecp_obj); if (!strcmp(attr, "__members__")) - return Py_BuildValue("[s]", "msg_body"); + return Py_BuildValue("[sss]", "assertionConsumerServiceURL", + "msg_body", "msg_url"); + if (!strcmp(attr, "assertionConsumerServiceURL")) + return (charPtrConst_wrap(lecp->assertionConsumerServiceURL)); if (!strcmp(attr, "msg_body")) return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_body)); + if (!strcmp(attr, "msg_url")) + return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_url)); Py_INCREF(Py_None); return (Py_None); |