Author: Matti Picus <[email protected]>
Branch: missing-ndarray-attributes
Changeset: r60641:84175fe407d3
Date: 2013-01-29 01:19 +0200
http://bitbucket.org/pypy/pypy/changeset/84175fe407d3/

Log:    hack to give test_zjit a fighting chance

diff --git a/rpython/jit/metainterp/compile.py 
b/rpython/jit/metainterp/compile.py
--- a/rpython/jit/metainterp/compile.py
+++ b/rpython/jit/metainterp/compile.py
@@ -26,7 +26,7 @@
 
 def show_procedures(metainterp_sd, procedure=None, error=None):
     # debugging
-    if option.view or option.viewloops:
+    if option and (option.view or option.viewloops):
         if error:
             errmsg = error.__class__.__name__
             if str(error):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to