pyrepl/pyrepl commands.py,1.2,1.3
[email protected] Fri, 17 Jan 2003 14:44:10 +0100 (MET)
| Newsgroups | gmane.comp.python.pyrepl.checkins |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvs/pyrepl/pyrepl/pyrepl
In directory thoth.codespeak.net:/tmp/cvs-serv2426
Modified Files:
commands.py
Log Message:
Fix embarrassing ^T-at-start-of-buffer crash.
Index: commands.py
===================================================================
RCS file: /cvs/pyrepl/pyrepl/pyrepl/commands.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -d -r1.2 -r1.3
*** commands.py 17 Jan 2003 13:25:54 -0000 1.2
--- commands.py 17 Jan 2003 13:44:08 -0000 1.3
***************
*** 290,294 ****
s = r.pos - 1
if s < 0:
! self.error("")
else:
if s == len(b):
--- 290,294 ----
s = r.pos - 1
if s < 0:
! r.error("cannot transpose at start of buffer")
else:
if s == len(b):