Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Prev Previous commit
Next Next commit
add no-op on_message for iopub
  • Loading branch information
minrk committed Apr 25, 2013
commit 2142444fc31db179effed1ebfa8da818e708d176
4 changes: 4 additions & 0 deletions IPython/frontend/html/notebook/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -604,6 +604,10 @@ def on_restart_failed(self):
logging.error("kernel %s restarted failed!", self.kernel_id)
self._send_status_message('dead')

def on_message(self, msg):
"""IOPub messages make no sense"""
pass

class ShellHandler(ZMQChannelHandler):
channel = 'shell'

Expand Down