Mercurial > moin > 1.9
changeset 3167:91092bf1816a
serveopenid: fix a python 2.3 incompatibility (rsplit)
author | Thomas Waldmann <tw AT waldmann-edv DOT de> |
---|---|
date | Sun, 02 Mar 2008 15:17:36 +0100 |
parents | a56218a337fb |
children | 0b0b756908c1 |
files | MoinMoin/action/serveopenid.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/MoinMoin/action/serveopenid.py Sun Mar 02 02:45:03 2008 +0100 +++ b/MoinMoin/action/serveopenid.py Sun Mar 02 15:17:36 2008 +0100 @@ -8,6 +8,7 @@ @license: GNU GPL, see COPYING for details. """ +from MoinMoin.support.python_compatibility import rsplit from MoinMoin.util.moinoid import MoinOpenIDStore, strbase64 from MoinMoin import wikiutil from openid.consumer.discover import (OPENID_1_0_TYPE, @@ -120,7 +121,7 @@ # we can very well split on the last slash since usernames # must not contain slashes - base, received_name = identity.rsplit('/', 1) + base, received_name = rsplit(identity, '/', 1) check_name = received_name if received_name == '':