Skip to content

Commit

Permalink
Fix null timer yield value
Browse files Browse the repository at this point in the history
  • Loading branch information
haampie committed Aug 21, 2023
1 parent c8449ac commit 891b6d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/spack/spack/util/timer.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def duration(self, name=None):

@contextmanager
def measure(self, name):
yield NullTimer()
yield self

@property
def phases(self):
Expand Down

0 comments on commit 891b6d4

Please sign in to comment.