rpartition changed to rsplit for 2.4 compat

This commit is contained in:
Bob Farrell
2008-06-27 17:05:41 +01:00
parent 152a445774
commit 39aef3aeb9
+1 -1
View File
@@ -415,7 +415,7 @@ class Repl( object ):
self.list_win.erase()
if items and '.' in items[0]:
items = [ x.rpartition('.')[2] for x in items ]
items = [ x.rsplit('.')[-1] for x in items ]
if topline:
height_offset = self.mkargspec(topline, down) + 1