Author: mattip <[email protected]>
Branch: 
Changeset: r83052:b3e2d1a59d0f
Date: 2016-03-14 21:09 +0200
http://bitbucket.org/pypy/pypy/changeset/b3e2d1a59d0f/

Log:    comma caused AnsiLogger attributes to be tuples, not functions

diff --git a/rpython/tool/ansi_print.py b/rpython/tool/ansi_print.py
--- a/rpython/tool/ansi_print.py
+++ b/rpython/tool/ansi_print.py
@@ -50,9 +50,9 @@
     # some more methods used by sandlib
     call      = _make_method(':call', (34,))
     result    = _make_method(':result', (34,))
-    exception = _make_method(':exception', (34,)),
-    vpath     = _make_method(':vpath', (35,)),
-    timeout   = _make_method('', (1, 31)),
+    exception = _make_method(':exception', (34,))
+    vpath     = _make_method(':vpath', (35,))
+    timeout   = _make_method('', (1, 31))
 
     # directly calling the logger writes "[name] text" with no particular color
     __call__ = _make_method('', ())
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to