[pypy-svn] r32044 - pypy/dist/pypy/translator/js

fijal at codespeak.net fijal at codespeak.net
Thu Sep 7 11:37:19 CEST 2006


Author: fijal
Date: Thu Sep  7 11:37:06 2006
New Revision: 32044

Modified:
   pypy/dist/pypy/translator/js/helper.py
Log:
Cut last line of traceback.


Modified: pypy/dist/pypy/translator/js/helper.py
==============================================================================
--- pypy/dist/pypy/translator/js/helper.py	(original)
+++ pypy/dist/pypy/translator/js/helper.py	Thu Sep  7 11:37:06 2006
@@ -25,7 +25,7 @@
     pre_div = get_document().createElement("pre")
     pre_div.style.color = "#FF0000"
     debug_div.appendChild(pre_div)
-    for tb_entry in tb:
+    for tb_entry in tb[1:]:
         # list of tuples...
         fun_name, args, filename, lineno = tb_entry
         # some source maybe? or so?



More information about the Pypy-commit mailing list