[pypy-svn] r64744 - pypy/branch/pyjitpl5/pypy/jit/tl

arigo at codespeak.net arigo at codespeak.net
Mon Apr 27 20:41:33 CEST 2009


Author: arigo
Date: Mon Apr 27 20:41:32 2009
New Revision: 64744

Modified:
   pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py
Log:
Argh!  regrtest.main() raises SystemExit at the end,
and it's not a subclass of Exception!


Modified: pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py
==============================================================================
--- pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py	(original)
+++ pypy/branch/pyjitpl5/pypy/jit/tl/pypyjit_demo.py	Mon Apr 27 20:41:32 2009
@@ -5,7 +5,7 @@
 
 try:
     do()
-except Exception, e:
+except BaseException, e:
     print '/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\/\\'
     import sys
     import traceback



More information about the Pypy-commit mailing list