[pypy-svn] r11914 - pypy/dist/pypy/interpreter
hpk at codespeak.net
hpk at codespeak.net
Wed May 4 02:40:06 CEST 2005
Author: hpk
Date: Wed May 4 02:40:06 2005
New Revision: 11914
Modified:
pypy/dist/pypy/interpreter/error.py
Log:
make applevel tracebacks look more like CPython's
Modified: pypy/dist/pypy/interpreter/error.py
==============================================================================
--- pypy/dist/pypy/interpreter/error.py (original)
+++ pypy/dist/pypy/interpreter/error.py Wed May 4 02:40:06 2005
@@ -101,6 +101,7 @@
if l:
if l.endswith('\n'):
l = l[:-1]
+ l = " " + l.lstrip()
print >> file, l
tb = tb.next
More information about the Pypy-commit
mailing list