[pypy-commit] pypy default: merged upstream

alex_gaynor noreply at buildbot.pypy.org
Mon Sep 26 12:36:50 CEST 2011


Author: Alex Gaynor <alex.gaynor at gmail.com>
Branch: 
Changeset: r47605:e471fb2f9bf7
Date: 2011-09-26 06:36 -0400
http://bitbucket.org/pypy/pypy/changeset/e471fb2f9bf7/

Log:	merged upstream

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):


More information about the pypy-commit mailing list