Author: Edd Barrett <vex...@gmail.com>
Branch: nobold-backtrace
Changeset: r66374:8c89148edd71
Date: 2013-08-27 16:57 +0100
http://bitbucket.org/pypy/pypy/changeset/8c89148edd71/

Log:    Revise display of FlowingError to look more like the new UnionError
        error.

diff --git a/rpython/flowspace/flowcontext.py b/rpython/flowspace/flowcontext.py
--- a/rpython/flowspace/flowcontext.py
+++ b/rpython/flowspace/flowcontext.py
@@ -24,8 +24,9 @@
         self.frame = frame
 
     def __str__(self):
-        msg = ['-+' * 30]
+        msg = ["\n"]
         msg += map(str, self.args)
+        msg += [""]
         msg += source_lines(self.frame.graph, None, 
offset=self.frame.last_instr)
         return "\n".join(msg)
 
_______________________________________________
pypy-commit mailing list
pypy-commit@python.org
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to