From 14d011c2c8ce5964a27dffad540be239a14aad51 2011-11-14 14:06:00 From: Matt Cottingham Date: 2011-11-14 14:06:00 Subject: [PATCH] Fix issue #880 - initialize TryNext with args and kwargs. Presents a message to the user along with the traceback prompting them to install tkinter. --- diff --git a/IPython/core/hooks.py b/IPython/core/hooks.py index 853f5f2..b0ac9aa 100644 --- a/IPython/core/hooks.py +++ b/IPython/core/hooks.py @@ -138,7 +138,7 @@ class CommandChainDispatcher: args = exc.args kw = exc.kwargs # if no function will accept it, raise TryNext up to the caller - raise TryNext + raise TryNext(*args, **kw) def __str__(self): return str(self.chain)