From 3fe09ec1ad415a6af672e347ca77f3fe917aa1aa 2007-04-20 17:50:00
From: jdh2358
Date: 2007-04-20 17:50:00
Subject: [PATCH] Small Debugger fix seen only when using the code outside a running ipython instance
---

diff --git a/IPython/Debugger.py b/IPython/Debugger.py
index c2342fa..cb5d97e 100644
--- a/IPython/Debugger.py
+++ b/IPython/Debugger.py
@@ -15,7 +15,7 @@ details on the PSF (Python Software Foundation) standard license, see:
 
 http://www.python.org/2.2.3/license.html
 
-$Id: Debugger.py 2203 2007-04-04 05:08:36Z fperez $"""
+$Id: Debugger.py 2261 2007-04-20 17:50:00Z jdh2358 $"""
 
 #*****************************************************************************
 #
@@ -72,7 +72,7 @@ def BdbQuit_excepthook(et,ev,tb):
     if et==bdb.BdbQuit:
         print 'Exiting Debugger.'
     else:
-        ehook.excepthook_ori(et,ev,tb)
+        BdbQuit_excepthook.excepthook_ori(et,ev,tb)
 
 def BdbQuit_IPython_excepthook(self,et,ev,tb):
     print 'Exiting Debugger.'
diff --git a/doc/ChangeLog b/doc/ChangeLog
index 3a4222d..420481a 100644
--- a/doc/ChangeLog
+++ b/doc/ChangeLog
@@ -1,3 +1,9 @@
+2007-04-20  Fernando Perez  <Fernando.Perez@colorado.edu>
+
+	* IPython/Debugger.py (BdbQuit_excepthook): fix small bug that
+	would prevent use of the exception system outside of a running
+	IPython instance.
+
 2007-04-20  Ville Vainio  <vivainio@gmail.com>
 
 	* Extensions/ipy_render.py: added extension for easy