Skip to content
This repository has been archived by the owner on Jun 9, 2020. It is now read-only.

Commit

Permalink
Remove check for (unsupported) earlier IPython versions
Browse files Browse the repository at this point in the history
  • Loading branch information
Brett Olsen committed Oct 20, 2016
1 parent fcdba72 commit a82d7e3
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions line_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -335,10 +335,7 @@ def lprun(self, parameter_s=''):
output = stdout_trap.getvalue()
output = output.rstrip()

if ipython_version < '0.11':
page(output, screen_lines=self.shell.rc.screen_length)
else:
page(output)
page(output)
print(message, end="")

dump_file = opts.D[0]
Expand Down

0 comments on commit a82d7e3

Please sign in to comment.