Author: Ronny Pfannschmidt <[email protected]>
Branch: 
Changeset: r47603:584fff13559d
Date: 2011-09-26 12:28 +0200
http://bitbucket.org/pypy/pypy/changeset/584fff13559d/

Log:    sync from pyrepl 11ef70675cfc

diff --git a/lib_pypy/pyrepl/completing_reader.py 
b/lib_pypy/pyrepl/completing_reader.py
--- a/lib_pypy/pyrepl/completing_reader.py
+++ b/lib_pypy/pyrepl/completing_reader.py
@@ -229,7 +229,8 @@
 
     def after_command(self, cmd):
         super(CompletingReader, self).after_command(cmd)
-        if not isinstance(cmd, complete) and not isinstance(cmd, self_insert):
+        if not isinstance(cmd, self.commands['complete']) \
+           and not isinstance(cmd, self.commands['self_insert']):
             self.cmpltn_reset()
 
     def calc_screen(self):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to