[pypy-svn] r15432 - pypy/dist/pypy/translator/goal

hpk at codespeak.net hpk at codespeak.net
Sat Jul 30 20:18:57 CEST 2005


Author: hpk
Date: Sat Jul 30 20:18:56 2005
New Revision: 15432

Modified:
   pypy/dist/pypy/translator/goal/targetpypymain.py
Log:
not confusing annotation with our debugging info (umpf)


Modified: pypy/dist/pypy/translator/goal/targetpypymain.py
==============================================================================
--- pypy/dist/pypy/translator/goal/targetpypymain.py	(original)
+++ pypy/dist/pypy/translator/goal/targetpypymain.py	Sat Jul 30 20:18:56 2005
@@ -37,8 +37,8 @@
     ##    con.interact()
     except OperationError, e:
         debug("OperationError:")
-        debug(e.w_type.name)
-        debug(space.str_w(space.str(e.w_value)))
+        debug(" operror-type: " + w_type.getname(space, '?'))
+        debug(" operror-value: " + space.str_w(space.str(e.w_value)))
         return 1
     return space.int_w(w_exitcode)
 



More information about the Pypy-commit mailing list