##// END OF EJS Templates
Removed ANSI coloring for kernel exception hook.
epatters -
Show More
@@ -64,10 +64,8 b' def make_kernel(namespace, kernel_factory,'
64 """ Creates a kernel.
64 """ Creates a kernel.
65 """
65 """
66 # Install minimal exception handling
66 # Install minimal exception handling
67 color_scheme = 'LightBG' if sys.platform == 'darwin' else 'Linux'
67 sys.excepthook = FormattedTB(mode='Verbose', color_scheme='NoColor',
68 sys.excepthook = FormattedTB(
68 ostream=sys.__stdout__)
69 mode='Verbose', color_scheme=color_scheme, ostream=sys.__stdout__
70 )
71
69
72 # Create a context, a session, and the kernel sockets.
70 # Create a context, a session, and the kernel sockets.
73 io.raw_print("Starting the kernel...")
71 io.raw_print("Starting the kernel...")
General Comments 0
You need to be logged in to leave comments. Login now