Skip to content

Commit

Permalink
Better
Browse files Browse the repository at this point in the history
  • Loading branch information
nedbat committed May 29, 2020
1 parent 2cee76e commit eb5d81a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coverage/cmdline.py
Original file line number Diff line number Diff line change
Expand Up @@ -869,8 +869,8 @@ def main(argv=None):

def main(argv=None): # pylint: disable=function-redefined
"""A wrapper around main that profiles."""
profiler = SimpleLauncher.launch()
try:
profiler = SimpleLauncher.launch()
return original_main(argv)
finally:
data, _ = profiler.query(re_filter='coverage', max_records=100)
Expand Down

0 comments on commit eb5d81a

Please sign in to comment.