Author: Ronny Pfannschmidt <ronny.pfannschm...@gmx.de>
Branch: py3ksupport
Changeset: r150:20637596ceea
Date: 2011-10-20 15:39 +0200
http://bitbucket.org/pypy/pyrepl/changeset/20637596ceea/

Log:    fix type check error

diff --git a/pyrepl/reader.py b/pyrepl/reader.py
--- a/pyrepl/reader.py
+++ b/pyrepl/reader.py
@@ -524,7 +524,7 @@
 
     def do_cmd(self, cmd):
         #print cmd
-        if isinstance(cmd[0], str):
+        if isinstance(cmd[0], basestring): #XXX: unify to text
             cmd = self.commands.get(cmd[0],
                                     commands.invalid_command)(self, *cmd)
         elif isinstance(cmd[0], type):
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to