Author: Edd Barrett <[email protected]>
Branch: argparse-collect
Changeset: r247:7198640c99ae
Date: 2013-09-05 13:45 +0100
http://bitbucket.org/pypy/jitviewer/changeset/7198640c99ae/
Log: unify a couple more error messages
diff --git a/_jitviewer/app.py b/_jitviewer/app.py
--- a/_jitviewer/app.py
+++ b/_jitviewer/app.py
@@ -36,12 +36,12 @@
try:
import pypy
except ImportError:
- raise ImportError('Could not import pypy module, make sure to '
+ failout('Could not import pypy module, make sure to '
'add the pypy module to PYTHONPATH')
import jinja2
if jinja2.__version__ < '2.6':
- raise ImportError("Required jinja version is 2.6 (the git tip), older
versions might segfault PyPy")
+ failout("Required jinja version is 2.6 (the git tip), older versions might
segfault PyPy")
import flask
import inspect
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit