Show More
@@ -701,7 +701,7 b' class ExecutionMagics(Magics):' | |||||
701 | if filename.lower().endswith(('.ipy', '.ipynb')): |
|
701 | if filename.lower().endswith(('.ipy', '.ipynb')): | |
702 | with preserve_keys(self.shell.user_ns, '__file__'): |
|
702 | with preserve_keys(self.shell.user_ns, '__file__'): | |
703 | self.shell.user_ns['__file__'] = filename |
|
703 | self.shell.user_ns['__file__'] = filename | |
704 | self.shell.safe_execfile_ipy(filename) |
|
704 | self.shell.safe_execfile_ipy(filename, raise_exceptions=True) | |
705 | return |
|
705 | return | |
706 |
|
706 | |||
707 | # Control the response to exit() calls made by the script being run |
|
707 | # Control the response to exit() calls made by the script being run |
General Comments 0
You need to be logged in to leave comments.
Login now