Skip to content

Commit

Permalink
enforce that exceptions are not suppressed
Browse files Browse the repository at this point in the history
  • Loading branch information
malb committed Apr 18, 2018
1 parent b0a18b0 commit 667de37
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/fpylll/tools/bkz_stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,8 @@ def __exit__(self, exception_type, exception_value, exception_traceback):
"""
Call ``exit`` on trace object
"""
if exception_type is not None:
return False
self.tracer.exit(**self.kwds)


Expand Down

0 comments on commit 667de37

Please sign in to comment.