This is an automated email from the ASF dual-hosted git repository. arm pushed a commit to branch previous_sbom_results in repository https://gitbox.apache.org/repos/asf/tooling-trusted-releases.git
commit b508730b276806b06c12a99e7f2cee635c0954c6 Author: Alastair McFarlane <[email protected]> AuthorDate: Tue Dec 23 14:23:41 2025 +0000 Fix non-digit character handling in version_sort_key --- atr/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/atr/util.py b/atr/util.py index f037700..d1c9f86 100644 --- a/atr/util.py +++ b/atr/util.py @@ -1052,7 +1052,7 @@ def version_sort_key(version: str) -> bytes: i = j else: # Non-digit character, just add it - result.append(ord(version[i])) + result.extend(version[i].encode("utf-8")) i += 1 return bytes(result) --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
