X-Git-Url: https://wannabe.guru.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=stopwatch.py;h=1326cb1fec8ffb41db461f99aac59372ded655f1;hb=b10d30a46e601c9ee1f843241f2d69a1f90f7a94;hp=d54af8792d28eef4025c150cb1920fbd2113efee;hpb=1574e8a3a8982fab9278ad534f9427d464e4bffb;p=python_utils.git diff --git a/stopwatch.py b/stopwatch.py index d54af87..1326cb1 100644 --- a/stopwatch.py +++ b/stopwatch.py @@ -24,4 +24,4 @@ class Timer(object): def __exit__(self, *args) -> bool: self.end = time.perf_counter() - return True + return None # don't suppress exceptions