summaryrefslogtreecommitdiffstats
path: root/platform_methods.py
diff options
context:
space:
mode:
Diffstat (limited to 'platform_methods.py')
-rw-r--r--platform_methods.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/platform_methods.py b/platform_methods.py
index 56115db4a4..57b11d1a47 100644
--- a/platform_methods.py
+++ b/platform_methods.py
@@ -39,8 +39,7 @@ def detect_arch():
# Catches x86, i386, i486, i586, i686, etc.
return "x86_32"
else:
- print("Unsupported CPU architecture: " + host_machine)
- print("Falling back to x86_64.")
+ methods.print_warning(f'Unsupported CPU architecture: "{host_machine}". Falling back to x86_64.')
return "x86_64"