##// END OF EJS Templates
don't flush displayhook if caching is disabled
MinRK -
Show More
@@ -1049,7 +1049,8 b' class InteractiveShell(Configurable, Magic):'
1049 self.execution_count = 1
1049 self.execution_count = 1
1050
1050
1051 # Flush cached output items
1051 # Flush cached output items
1052 self.displayhook.flush()
1052 if self.displayhook.do_full_cache:
1053 self.displayhook.flush()
1053
1054
1054 # Restore the user namespaces to minimal usability
1055 # Restore the user namespaces to minimal usability
1055 for ns in self.ns_refs_table:
1056 for ns in self.ns_refs_table:
General Comments 0
You need to be logged in to leave comments. Login now