diff MoinMoin/userprefs/oid.py @ 4544:776cc7f6f6c6

compatibility fix for python-openid 2.x.x (also works with 1.x.x), fixes crash when trying to associate moin user to openid
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 03 Feb 2009 15:23:16 +0100
parents 817d99d715fe
children 173c67aff3d6 68d29223dfa9
line wrap: on
line diff
--- a/MoinMoin/userprefs/oid.py	Tue Feb 03 02:30:27 2009 +0100
+++ b/MoinMoin/userprefs/oid.py	Tue Feb 03 15:23:16 2009 +0100
@@ -106,7 +106,7 @@
                                          'handler': 'oid',
                                          'oid.return': '1'})
         return_to = request.getQualifiedURL(request.page.url(request, qstr))
-        info = oidconsumer.complete(query, return_to=return_to)
+        info = oidconsumer.complete(query, return_to)
         if info.status == consumer.FAILURE:
             return 'error', _('OpenID error: %s.') % info.message
         elif info.status == consumer.CANCEL: