mirror of
https://github.com/kennethreitz-archive/bpython-gist.git
synced 2026-06-05 15:40:17 +00:00
rpartition changed to rsplit for 2.4 compat
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user