summaryrefslogtreecommitdiffstats
path: root/python/environs/py_lecp.c
diff options
context:
space:
mode:
authorValery Febvre <vfebvre at easter-eggs.com>2004-07-30 00:07:56 +0000
committerValery Febvre <vfebvre at easter-eggs.com>2004-07-30 00:07:56 +0000
commitc3626a517bf7f6b7c0c49c62e686578b891606c3 (patch)
tree8a0ed154a7db36d017d3d790d320708479ed4533 /python/environs/py_lecp.c
parent6b36c2b6d9ad12062a0ea98b16e41a68c86fc233 (diff)
downloadlasso-c3626a517bf7f6b7c0c49c62e686578b891606c3.tar.gz
lasso-c3626a517bf7f6b7c0c49c62e686578b891606c3.tar.xz
lasso-c3626a517bf7f6b7c0c49c62e686578b891606c3.zip
Update begining
Diffstat (limited to 'python/environs/py_lecp.c')
-rw-r--r--python/environs/py_lecp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/python/environs/py_lecp.c b/python/environs/py_lecp.c
index a67a1bbb..60aae49b 100644
--- a/python/environs/py_lecp.c
+++ b/python/environs/py_lecp.c
@@ -55,12 +55,12 @@ PyObject *lecp_getattr(PyObject *self, PyObject *args) {
lecp = LassoLecp_get(lecp_obj);
if (!strcmp(attr, "__members__"))
- return Py_BuildValue("[ssss]", "user", "msg_url", "msg_body",
+ return Py_BuildValue("[ssss]", "identity", "msg_url", "msg_body",
"msg_relayState");
if (!strcmp(attr, "msg_url"))
- return (charPtrConst_wrap(LASSO_PROFILE_CONTEXT(lecp)->msg_url));
+ return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_url));
if (!strcmp(attr, "msg_body"))
- return (charPtrConst_wrap(LASSO_PROFILE_CONTEXT(lecp)->msg_body));
+ return (charPtrConst_wrap(LASSO_PROFILE(lecp)->msg_body));
Py_INCREF(Py_None);
return (Py_None);