diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-03-31 22:11:20 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2025-04-01 05:09:45 -0600 |
commit | 571ac844642796eb899dedccabcdc3c20926cac1 (patch) | |
tree | a064e0683be527d4601a70c54dd2f060c8a226d2 /build-aux/measurestack/analyze.py | |
parent | 2ced5e02eacfc6b9e67435fe3a24dcb6c3a29037 (diff) |
measurestack: Avoid using sorted() during analysis
Diffstat (limited to 'build-aux/measurestack/analyze.py')
-rw-r--r-- | build-aux/measurestack/analyze.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build-aux/measurestack/analyze.py b/build-aux/measurestack/analyze.py index 871ff2d..0fb20ef 100644 --- a/build-aux/measurestack/analyze.py +++ b/build-aux/measurestack/analyze.py @@ -250,7 +250,7 @@ def analyze( if ":" not in str(funcname): qnames = qualified.get(BaseName(str(funcname)), set()) if len(qnames) == 1: - return sorted(qnames)[0] + return next(name for name in qnames) return None |