From 8c858fc98cfac56f34211a31988fd19c462c0c53 Mon Sep 17 00:00:00 2001 From: Scott Lee Date: Thu, 23 Jan 2025 12:27:24 -0800 Subject: [PATCH] AIX: sys.platform always returns 'aix' instead of 'aix6' or 'aix7'. sys.platform doesn't contain major version of aix. Always return 'aix', instead of 'aix6' or 'aix7'. R=gavinmak@google.com, kimstephanie@google.com Change-Id: I6d2075be808503731996df7bf17f23527ebdf445 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/tools/depot_tools/+/5999752 Commit-Queue: Scott Lee Reviewed-by: Scott Lee Reviewed-by: Gavin Mak --- download_from_google_storage.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/download_from_google_storage.py b/download_from_google_storage.py index bfc8eace2..76c4fffcc 100755 --- a/download_from_google_storage.py +++ b/download_from_google_storage.py @@ -33,8 +33,7 @@ PLATFORM_MAPPING = { 'linux': 'linux', # Python 3.3+. 'linux2': 'linux', # Python < 3.3 uses "linux2" / "linux3". 'win32': 'win', - 'aix6': 'aix', - 'aix7': 'aix', + 'aix': 'aix', # Python 3.8+ 'zos': 'zos', }