##// END OF EJS Templates
Tweak to history_manager.store_inputs to pass tests.
Thomas Kluyver -
Show More
@@ -308,8 +308,8 b' class HistoryManager(Configurable):'
308 """
308 """
309 if source_raw is None:
309 if source_raw is None:
310 source_raw = source
310 source_raw = source
311 source = source.rstrip()
311 source = source.rstrip('\n')
312 source_raw = source_raw.rstrip()
312 source_raw = source_raw.rstrip('\n')
313
313
314 # do not store exit/quit commands
314 # do not store exit/quit commands
315 if source_raw.strip() in self._exit_commands:
315 if source_raw.strip() in self._exit_commands:
General Comments 0
You need to be logged in to leave comments. Login now