##// END OF EJS Templates
FIX : flip atexit registration...
Thomas A Caswell -
Show More
@@ -297,8 +297,8 b' class EmbeddedSphinxShell(object):'
297
297
298 # Create and initialize global ipython, but don't start its mainloop.
298 # Create and initialize global ipython, but don't start its mainloop.
299 # This will persist across different EmbededSphinxShell instances.
299 # This will persist across different EmbededSphinxShell instances.
300 IP = InteractiveShell.instance(config=config, profile_dir=profile)
301 atexit.register(self.cleanup)
300 atexit.register(self.cleanup)
301 IP = InteractiveShell.instance(config=config, profile_dir=profile)
302
302
303 # io.stdout redirect must be done after instantiating InteractiveShell
303 # io.stdout redirect must be done after instantiating InteractiveShell
304 io.stdout = self.cout
304 io.stdout = self.cout
General Comments 0
You need to be logged in to leave comments. Login now