##// END OF EJS Templates
move interact trait up one level to InteractiveShellApp
Min RK -
Show More
@@ -198,6 +198,8 b' class InteractiveShellApp(Configurable):'
198 )
198 )
199 shell = Instance('IPython.core.interactiveshell.InteractiveShellABC',
199 shell = Instance('IPython.core.interactiveshell.InteractiveShellABC',
200 allow_none=True)
200 allow_none=True)
201 # whether interact-loop should start
202 interact = Bool(True)
201
203
202 user_ns = Instance(dict, args=None, allow_none=True)
204 user_ns = Instance(dict, args=None, allow_none=True)
203 def _user_ns_changed(self, name, old, new):
205 def _user_ns_changed(self, name, old, new):
@@ -272,7 +272,6 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
272 _module_to_run_changed = _file_to_run_changed
272 _module_to_run_changed = _file_to_run_changed
273
273
274 # internal, not-configurable
274 # internal, not-configurable
275 interact=Bool(True)
276 something_to_run=Bool(False)
275 something_to_run=Bool(False)
277
276
278 def parse_command_line(self, argv=None):
277 def parse_command_line(self, argv=None):
General Comments 0
You need to be logged in to leave comments. Login now