[pypy-commit] pypy default: sync from pyrepl 11ef70675cfc
RonnyPfannschmidt
noreply at buildbot.pypy.org
Mon Sep 26 12:29:23 CEST 2011
Author: Ronny Pfannschmidt <Ronny.Pfannschmidt at gmx.de>
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):
More information about the pypy-commit
mailing list