##// END OF EJS Templates
Add message when kernel catches KeyboardInterrupt.
Thomas Kluyver -
Show More
@@ -172,7 +172,7 b' class Kernel(Configurable):'
172 self.do_one_iteration()
172 self.do_one_iteration()
173 except KeyboardInterrupt:
173 except KeyboardInterrupt:
174 # Ctrl-C shouldn't crash the kernel
174 # Ctrl-C shouldn't crash the kernel
175 continue
175 io.raw_print("KeyboardInterrupt caught in kernel")
176
176
177 def record_ports(self, xrep_port, pub_port, req_port, hb_port):
177 def record_ports(self, xrep_port, pub_port, req_port, hb_port):
178 """Record the ports that this kernel is using.
178 """Record the ports that this kernel is using.
General Comments 0
You need to be logged in to leave comments. Login now