Show More
@@ -33,7 +33,7 b' from IPython.core.error import TryNext' | |||
|
33 | 33 | from IPython.utils._process_common import arg_split |
|
34 | 34 | |
|
35 | 35 | # FIXME: this should be pulled in with the right call via the component system |
|
36 |
from IPython |
|
|
36 | from IPython import get_ipython | |
|
37 | 37 | |
|
38 | 38 | #----------------------------------------------------------------------------- |
|
39 | 39 | # Globals and constants |
@@ -31,6 +31,7 b' import functools' | |||
|
31 | 31 | import linecache |
|
32 | 32 | import sys |
|
33 | 33 | |
|
34 | from IPython import get_ipython | |
|
34 | 35 | from IPython.utils import PyColorize, ulinecache |
|
35 | 36 | from IPython.core import ipapi |
|
36 | 37 | from IPython.utils import coloransi, io, py3compat |
@@ -113,9 +114,8 b' class Tracer(object):' | |||
|
113 | 114 | from the Python standard library for usage details. |
|
114 | 115 | """ |
|
115 | 116 | |
|
116 | try: | |
|
117 | 117 |
|
|
118 | except NameError: | |
|
118 | if ip is None: | |
|
119 | 119 | # Outside of ipython, we set our own exception hook manually |
|
120 | 120 | sys.excepthook = functools.partial(BdbQuit_excepthook, |
|
121 | 121 | excepthook=sys.excepthook) |
General Comments 0
You need to be logged in to leave comments.
Login now