Skip to content

Commit

Permalink
Prefilter shouldn't touch execution_count
Browse files Browse the repository at this point in the history
  • Loading branch information
takluyver committed Jan 13, 2013
1 parent 75dc8ae commit 1f35a50
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions IPython/core/prefilter.py
Expand Up @@ -323,9 +323,6 @@ def prefilter_line(self, line, continue_prompt=False):

normal_handler = self.get_handler_by_name('normal')
if not stripped:
if not continue_prompt:
self.shell.displayhook.prompt_count -= 1

return normal_handler.handle(line_info)

# special handlers are only allowed for single line statements
Expand Down

0 comments on commit 1f35a50

Please sign in to comment.