From 8b6b3163489f1ab708fcefd4c2bcbb9c6ea73629 2014-05-29 16:45:54 From: Min RK Date: 2014-05-29 16:45:54 Subject: [PATCH] Merge pull request #5916 from minrk/bad-source fix a couple of typos in Qt --- 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.