##// END OF EJS Templates
move some debug statements to terminal RichIPythonWidget class
Min RK -
Show More
@@ -239,9 +239,7 b' class IPythonWidget(FrontendWidget):'
239
239
240
240
241 def _handle_execute_result(self, msg):
241 def _handle_execute_result(self, msg):
242 """ Reimplemented for IPython-style "display hook".
242 """Reimplemented for IPython-style "display hook"."""
243 """
244 self.log.debug("execute_result: %s", msg.get('content', ''))
245 if self.include_output(msg):
243 if self.include_output(msg):
246 self.flush_clearoutput()
244 self.flush_clearoutput()
247 content = msg['content']
245 content = msg['content']
@@ -258,9 +256,7 b' class IPythonWidget(FrontendWidget):'
258 self._append_plain_text(text + self.output_sep2, True)
256 self._append_plain_text(text + self.output_sep2, True)
259
257
260 def _handle_display_data(self, msg):
258 def _handle_display_data(self, msg):
261 """ The base handler for the ``display_data`` message.
259 """The base handler for the ``display_data`` message."""
262 """
263 self.log.debug("display: %s", msg.get('content', ''))
264 # For now, we don't display data from other frontends, but we
260 # For now, we don't display data from other frontends, but we
265 # eventually will as this allows all frontends to monitor the display
261 # eventually will as this allows all frontends to monitor the display
266 # data. But we need to figure out how to handle this in the GUI.
262 # data. But we need to figure out how to handle this in the GUI.
General Comments 0
You need to be logged in to leave comments. Login now