diff MoinMoin/action/serveopenid.py @ 6103:500f68d3e2fd

remove our own usage of python_compatibility module
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 06 Sep 2016 01:00:25 +0200
parents 4ab3c578e44b
children
line wrap: on
line diff
--- a/MoinMoin/action/serveopenid.py	Tue Sep 06 00:26:46 2016 +0200
+++ b/MoinMoin/action/serveopenid.py	Tue Sep 06 01:00:25 2016 +0200
@@ -8,7 +8,6 @@
     @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, \
@@ -117,7 +116,7 @@
 
         # we can very well split on the last slash since usernames
         # must not contain slashes
-        base, received_name = rsplit(identity, '/', 1)
+        base, received_name = identity.rsplit('/', 1)
         check_name = received_name
 
         if received_name == '':