From 5c985e75057e27ed279e95b8ca61a0da97ea9cd7 2010-08-27 18:03:15 From: epatters Date: 2010-08-27 18:03:15 Subject: [PATCH] Removed ANSI coloring for kernel exception hook. --- diff --git a/IPython/zmq/entry_point.py b/IPython/zmq/entry_point.py index e8ffc4b..0ce3112 100644 --- a/IPython/zmq/entry_point.py +++ b/IPython/zmq/entry_point.py @@ -64,10 +64,8 @@ def make_kernel(namespace, kernel_factory, """ Creates a kernel. """ # Install minimal exception handling - color_scheme = 'LightBG' if sys.platform == 'darwin' else 'Linux' - sys.excepthook = FormattedTB( - mode='Verbose', color_scheme=color_scheme, ostream=sys.__stdout__ - ) + sys.excepthook = FormattedTB(mode='Verbose', color_scheme='NoColor', + ostream=sys.__stdout__) # Create a context, a session, and the kernel sockets. io.raw_print("Starting the kernel...")