##// END OF EJS Templates
fix indentation
Julian Taylor -
Show More
@@ -243,7 +243,7 b' class TerminalInteractiveShell(InteractiveShell):'
243 # nothing changed do nothing, e.g. when rl removes consecutive dups
243 # nothing changed do nothing, e.g. when rl removes consecutive dups
244 hlen = self.readline.get_current_history_length()
244 hlen = self.readline.get_current_history_length()
245 if hlen == hlen_before_cell:
245 if hlen == hlen_before_cell:
246 return hlen_before_cell
246 return hlen_before_cell
247
247
248 for i in range(hlen - hlen_before_cell):
248 for i in range(hlen - hlen_before_cell):
249 self.readline.remove_history_item(hlen - i - 1)
249 self.readline.remove_history_item(hlen - i - 1)
General Comments 0
You need to be logged in to leave comments. Login now