Show More
@@ -121,7 +121,7 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):' | |||||
121 |
|
121 | |||
122 | This creates completion machinery that can be used by client code, |
|
122 | This creates completion machinery that can be used by client code, | |
123 | either interactively in-process (typically triggered by the readline |
|
123 | either interactively in-process (typically triggered by the readline | |
124 | library), programatically (such as in test suites) or out-of-prcess |
|
124 | library), programmatically (such as in test suites) or out-of-process | |
125 | (typically over the network by remote frontends). |
|
125 | (typically over the network by remote frontends). | |
126 | """ |
|
126 | """ | |
127 | from IPython.core.completerlib import (module_completer, |
|
127 | from IPython.core.completerlib import (module_completer, | |
@@ -143,7 +143,7 b' class ZMQTerminalInteractiveShell(TerminalInteractiveShell):' | |||||
143 |
|
143 | |||
144 | def ask_exit(self): |
|
144 | def ask_exit(self): | |
145 | super(ZMQTerminalInteractiveShell, self).ask_exit() |
|
145 | super(ZMQTerminalInteractiveShell, self).ask_exit() | |
146 | if self.exit_now: |
|
146 | if self.exit_now and self.manager: | |
147 | self.client.shutdown() |
|
147 | self.client.shutdown() | |
148 |
|
148 | |||
149 | def run_cell(self, cell, store_history=True): |
|
149 | def run_cell(self, cell, store_history=True): |
General Comments 0
You need to be logged in to leave comments.
Login now