From 9edeabf0bba6e3fe7bb352f79b2ad3e118349c68 2011-11-05 23:50:25 From: Julian Taylor Date: 2011-11-05 23:50:25 Subject: [PATCH] fix indentation --- diff --git a/IPython/frontend/terminal/interactiveshell.py b/IPython/frontend/terminal/interactiveshell.py index 94bf11c..62b88b6 100644 --- a/IPython/frontend/terminal/interactiveshell.py +++ b/IPython/frontend/terminal/interactiveshell.py @@ -243,7 +243,7 @@ class TerminalInteractiveShell(InteractiveShell): # nothing changed do nothing, e.g. when rl removes consecutive dups hlen = self.readline.get_current_history_length() if hlen == hlen_before_cell: - return hlen_before_cell + return hlen_before_cell for i in range(hlen - hlen_before_cell): self.readline.remove_history_item(hlen - i - 1)