##// END OF EJS Templates
Merge pull request #12262 from meeseeksmachine/auto-backport-of-pr-12261-on-7.x...
Matthias Bussonnier -
r25668:46bf2fbe merge
parent child Browse files
Show More
@@ -418,7 +418,8 b' class InteractiveShellApp(Configurable):'
418 418 fname = os.path.join(fname, "__main__.py")
419 419 if not os.path.exists(fname):
420 420 self.log.warning("File '%s' doesn't exist", fname)
421 self.exit(2)
421 if not self.interact:
422 self.exit(2)
422 423 try:
423 424 self._exec_file(fname, shell_futures=True)
424 425 except:
General Comments 0
You need to be logged in to leave comments. Login now