[Python-3000-checkins] r56501 - python/branches/p3yk/Lib/traceback.py

kurt.kaiser python-3000-checkins at python.org
Mon Jul 23 04:35:51 CEST 2007


Author: kurt.kaiser
Date: Mon Jul 23 04:35:50 2007
New Revision: 56501

Modified:
   python/branches/p3yk/Lib/traceback.py
Log:
Hum, needed a newline in the last change.


Modified: python/branches/p3yk/Lib/traceback.py
==============================================================================
--- python/branches/p3yk/Lib/traceback.py	(original)
+++ python/branches/p3yk/Lib/traceback.py	Mon Jul 23 04:35:50 2007
@@ -193,7 +193,7 @@
                 # only three spaces to account for offset1 == pos 0
                 lines.append('   %s^\n' % ''.join(caretspace))
             value = msg
-    lines.append("%s: %s" % (stype, str(msg)))
+    lines.append("%s: %s\n" % (stype, str(msg)))
     return lines
 
 def _format_final_exc_line(etype, value):


More information about the Python-3000-checkins mailing list