From 7da78f128ce8cb754c8285ad86cb586841c68eb2 2014-10-17 21:43:48
From: Thomas Kluyver <takowl@gmail.com>
Date: 2014-10-17 21:43:48
Subject: [PATCH] Make fallback for get() explicit

---

diff --git a/IPython/qt/console/frontend_widget.py b/IPython/qt/console/frontend_widget.py
index 972e419..f0b1c90 100644
--- a/IPython/qt/console/frontend_widget.py
+++ b/IPython/qt/console/frontend_widget.py
@@ -516,7 +516,7 @@ class FrontendWidget(HistoryConsoleWidget, BaseFrontendMixin):
         if info and info.id == rep['parent_header']['msg_id'] and \
                 info.pos == cursor.position():
             content = rep['content']
-            if content.get('status') == 'ok' and content.get('found'):
+            if content.get('status') == 'ok' and content.get('found', False):
                 self._call_tip_widget.show_inspect_data(content)
 
     def _handle_execute_result(self, msg):