Skip to content

Commit 57fee9e

Browse files
committed
Use consistency exception type
1 parent 1bef021 commit 57fee9e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cpython-windows/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1090,7 +1090,7 @@ def find_additional_dependencies(project: pathlib.Path):
10901090
elif arch == "arm64":
10911091
abi_platform = "win_arm64"
10921092
else:
1093-
raise ValueError("unhandled arch: %s" % arch)
1093+
raise Exception("unhandled architecture: %s" % arch)
10941094

10951095
if freethreaded:
10961096
abi_tag = ".cp%st-%s" % (python_majmin, abi_platform)

0 commit comments

Comments
 (0)