##// END OF EJS Templates
Do not attempt to run a file if -m is present.
Bradley M. Froehle -
Show More
@@ -306,7 +306,7 b' class TerminalIPythonApp(BaseIPythonApplication, InteractiveShellApp):'
306 if not self.ignore_old_config:
306 if not self.ignore_old_config:
307 check_for_old_config(self.ipython_dir)
307 check_for_old_config(self.ipython_dir)
308 # print self.extra_args
308 # print self.extra_args
309 if self.extra_args:
309 if self.extra_args and not self.module_to_run:
310 self.file_to_run = self.extra_args[0]
310 self.file_to_run = self.extra_args[0]
311 # create the shell
311 # create the shell
312 self.init_shell()
312 self.init_shell()
General Comments 0
You need to be logged in to leave comments. Login now