[pypy-commit] pypy default: fixes

arigo noreply at buildbot.pypy.org
Sun Jul 28 21:37:22 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r65752:110dab59f002
Date: 2013-07-28 21:36 +0200
http://bitbucket.org/pypy/pypy/changeset/110dab59f002/

Log:	fixes

diff --git a/pypy/tool/pypyjit.py b/pypy/tool/pypyjit.py
--- a/pypy/tool/pypyjit.py
+++ b/pypy/tool/pypyjit.py
@@ -7,11 +7,18 @@
 
 import py, os
 
+try:
+    py.test.config.option.runappdirect
+except AttributeError:
+    import sys
+    print >> sys.stderr, __doc__
+    sys.exit(2)
+
 from pypy.objspace.std import Space
 from rpython.config.translationoption import set_opt_level
 from pypy.config.pypyoption import get_pypy_config, set_pypy_opt_level
 from pypy.objspace.std import multimethod
-from rpython.rtyper.annlowlevel import llhelper, llstr, oostr, hlstr
+from rpython.rtyper.annlowlevel import llhelper, llstr, hlstr
 from rpython.rtyper.lltypesystem.rstr import STR
 from rpython.rtyper.lltypesystem import lltype
 from pypy.interpreter.pycode import PyCode


More information about the pypy-commit mailing list