Skip to content

Commit 4755b8d

Browse files
Hm, undo?
1 parent 8f6d84a commit 4755b8d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

PCbuild/get_external.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@ def fetch_zip(commit_hash, zip_dir, *, org='python', binary=False, verbose):
4545

4646

4747
def fetch_release(tag, tarball_dir, *, org='python', verbose=False):
48-
# Use PreferredToolArchitecture if set, otherwise fall back to platform.machine()
49-
arch = os.environ.get('PreferredToolArchitecture')
50-
if not arch:
51-
arch = platform.machine()
48+
arch = platform.machine()
5249
arch = {'AMD64': 'x64', 'x86': 'x64'}.get(arch, arch)
5350
reporthook = None
5451
if verbose:

0 commit comments

Comments
 (0)