Skip to content

Commit 319ed44

Browse files
committed
Make platform name actually work
1 parent 575b676 commit 319ed44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/tests/local.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import glob
66
import logging
77
import os
8+
import platform
89
import shlex
910
import stat
1011
import subprocess
@@ -26,7 +27,7 @@ def _get_native_machine_target():
2627
"""
2728
Returns the build prefix for applications, such as 'linux-x64'.
2829
"""
29-
current_system_info = uname()
30+
current_system_info = platform.uname()
3031
arch = current_system_info.machine
3132
if arch == 'x86_64':
3233
arch = 'x64'

0 commit comments

Comments
 (0)