Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix IPython check in debugger.Tracer

  • Loading branch information...
commit 09c2492aca64f84ab1ab2c8f56856a6ef08a239c 1 parent e385f97
@minrk minrk authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/core/debugger.py
View
4 IPython/core/debugger.py
@@ -104,8 +104,8 @@ def __init__(self,colors=None):
"""
try:
- ip = ipapi.get()
- except:
+ ip = get_ipython()
+ except NameError:
# Outside of ipython, we set our own exception hook manually
BdbQuit_excepthook.excepthook_ori = sys.excepthook
sys.excepthook = BdbQuit_excepthook
Please sign in to comment.
Something went wrong with that request. Please try again.