summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorNicolas Clapies <nclapies@entrouvert.com>2004-07-21 10:08:32 +0000
committerNicolas Clapies <nclapies@entrouvert.com>2004-07-21 10:08:32 +0000
commitddf6dd5516e6dbf778968c7fd97ba094c115d36b (patch)
treea4c4aab755f0ae1924f2978bbf24d6785151bd28 /python
parent470e21d4d250216afa07979423f137f1cd65987d (diff)
downloadlasso-ddf6dd5516e6dbf778968c7fd97ba094c115d36b.tar.gz
lasso-ddf6dd5516e6dbf778968c7fd97ba094c115d36b.tar.xz
lasso-ddf6dd5516e6dbf778968c7fd97ba094c115d36b.zip
allow no param in init_request for class Logout
Diffstat (limited to 'python')
-rw-r--r--python/environs/py_logout.c2
-rw-r--r--python/lasso.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/environs/py_logout.c b/python/environs/py_logout.c
index 1333e40f..68904059 100644
--- a/python/environs/py_logout.c
+++ b/python/environs/py_logout.c
@@ -144,7 +144,7 @@ PyObject *logout_init_request(PyObject *self, PyObject *args) {
gint codeError;
if (CheckArgs(args, "Os:logout_init_request")) {
- if(!PyArg_ParseTuple(args, (char *) "O|s:logout_init_request",
+ if(!PyArg_ParseTuple(args, (char *) "Oz:logout_init_request",
&logout_obj, &remote_providerID))
return NULL;
}
diff --git a/python/lasso.py b/python/lasso.py
index 6b2ac265..dd8690c9 100644
--- a/python/lasso.py
+++ b/python/lasso.py
@@ -1056,7 +1056,7 @@ class FederationTermination:
def destroy(self):
pass
- def init_notification(self, remote_providerID):
+ def init_notification(self, remote_providerID = None):
return lassomod.federation_termination_init_notification(self, remote_providerID);
def process_notification_msg(self, notification_msg, notification_method):