Author: Amaury Forgeot d'Arc <[email protected]>
Branch: py3k-readline
Changeset: r200:1d5880d5ced3
Date: 2012-10-24 23:24 +0200
http://bitbucket.org/pypy/pyrepl/changeset/1d5880d5ced3/
Log: Typo. Now pyrepl works with pypy!
diff --git a/pyrepl/curses.py b/pyrepl/curses.py
--- a/pyrepl/curses.py
+++ b/pyrepl/curses.py
@@ -24,7 +24,7 @@
try:
# Forces import of the builtin module. Seems necessary with PyPy.
- _curses = imp.init_builtin('_minimal_curses2')
+ _curses = imp.init_builtin('_minimal_curses')
if not _curses:
raise ImportError
setupterm = _curses.setupterm
@@ -32,4 +32,5 @@
tparm = _curses.tparm
error = _curses.error
except ImportError:
+ raise
from ._minimal_curses import setupterm, tigetstr, tparm, error
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit