[pypy-commit] pypy reverse-debugger: Print the ImportError at least, don't silently ignore the option
arigo
pypy.commits at gmail.com
Sun Jul 10 05:11:19 EDT 2016
Author: Armin Rigo <arigo at tunes.org>
Branch: reverse-debugger
Changeset: r85646:c5e982ac074f
Date: 2016-07-10 11:12 +0200
http://bitbucket.org/pypy/pypy/changeset/c5e982ac074f/
Log: Print the ImportError at least, don't silently ignore the option
diff --git a/rpython/translator/revdb/interact.py b/rpython/translator/revdb/interact.py
--- a/rpython/translator/revdb/interact.py
+++ b/rpython/translator/revdb/interact.py
@@ -376,7 +376,8 @@
from pygments import highlight
from pygments.lexers import PythonLexer
from pygments.formatters import TerminalFormatter
- except ImportError:
+ except ImportError as e:
+ print >> sys.stderr, 'ImportError: %s' % (e,)
return None
#
lexer = PythonLexer()
More information about the pypy-commit
mailing list