##// END OF EJS Templates
Do not store file contents in history when running a .ipy file....
Thomas Kluyver -
Show More
@@ -2068,7 +2068,7 b' class InteractiveShell(Configurable, Magic):'
2068 # raised in user code. It would be nice if there were
2068 # raised in user code. It would be nice if there were
2069 # versions of runlines, execfile that did raise, so
2069 # versions of runlines, execfile that did raise, so
2070 # we could catch the errors.
2070 # we could catch the errors.
2071 self.run_cell(thefile.read())
2071 self.run_cell(thefile.read(), store_history=False)
2072 except:
2072 except:
2073 self.showtraceback()
2073 self.showtraceback()
2074 warn('Unknown failure executing file: <%s>' % fname)
2074 warn('Unknown failure executing file: <%s>' % fname)
General Comments 0
You need to be logged in to leave comments. Login now