Show More
@@ -151,7 +151,7 def get_connection_file(app=None): | |||||
151 | If unspecified, the currently running app will be used |
|
151 | If unspecified, the currently running app will be used | |
152 | """ |
|
152 | """ | |
153 | if app is None: |
|
153 | if app is None: | |
154 |
from |
|
154 | from ipython_kernel.kernelapp import IPKernelApp | |
155 | if not IPKernelApp.initialized(): |
|
155 | if not IPKernelApp.initialized(): | |
156 | raise RuntimeError("app not specified, and not in a running Kernel") |
|
156 | raise RuntimeError("app not specified, and not in a running Kernel") | |
157 |
|
157 |
@@ -151,7 +151,7 def get_connection_file(app=None): | |||||
151 | If unspecified, the currently running app will be used |
|
151 | If unspecified, the currently running app will be used | |
152 | """ |
|
152 | """ | |
153 | if app is None: |
|
153 | if app is None: | |
154 |
from |
|
154 | from ipython_kernel.kernelapp import IPKernelApp | |
155 | if not IPKernelApp.initialized(): |
|
155 | if not IPKernelApp.initialized(): | |
156 | raise RuntimeError("app not specified, and not in a running Kernel") |
|
156 | raise RuntimeError("app not specified, and not in a running Kernel") | |
157 |
|
157 |
General Comments 0
You need to be logged in to leave comments.
Login now