From 300b9f8f78baac5a1eba293006c410ddb4d802f8 2014-05-28 17:46:00 From: MinRK Date: 2014-05-28 17:46:00 Subject: [PATCH] fix a couple typos in Qt from the msg spec update closes #5902 closes #5905 --- diff --git a/IPython/core/usage.py b/IPython/core/usage.py index bce4ea6..808ba54 100644 --- a/IPython/core/usage.py +++ b/IPython/core/usage.py @@ -566,5 +566,5 @@ default_gui_banner = ''.join(default_gui_banner_parts) def page_guiref(arg_s=None): """Show a basic reference about the GUI Console.""" from IPython.core import page - page.page(gui_reference, auto_html=True) + page.page(gui_reference) diff --git a/IPython/qt/console/ipython_widget.py b/IPython/qt/console/ipython_widget.py index 1a0a757..9fc2e34 100644 --- a/IPython/qt/console/ipython_widget.py +++ b/IPython/qt/console/ipython_widget.py @@ -233,7 +233,6 @@ class IPythonWidget(FrontendWidget): # data. But we need to figure out how to handle this in the GUI. if not self._hidden and self._is_from_this_session(msg): self.flush_clearoutput() - source = msg['content']['source'] data = msg['content']['data'] metadata = msg['content']['metadata'] # In the regular IPythonWidget, we simply print the plain text diff --git a/IPython/qt/console/rich_ipython_widget.py b/IPython/qt/console/rich_ipython_widget.py index 67e8563..07b1d0c 100644 --- a/IPython/qt/console/rich_ipython_widget.py +++ b/IPython/qt/console/rich_ipython_widget.py @@ -135,7 +135,6 @@ class RichIPythonWidget(IPythonWidget): """ if not self._hidden and self._is_from_this_session(msg): self.flush_clearoutput() - source = msg['content']['source'] data = msg['content']['data'] metadata = msg['content']['metadata'] # Try to use the svg or html representations.