diff options
Diffstat (limited to 'third_party/python/setuptools/setuptools/_distutils/py38compat.py')
-rw-r--r-- | third_party/python/setuptools/setuptools/_distutils/py38compat.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/third_party/python/setuptools/setuptools/_distutils/py38compat.py b/third_party/python/setuptools/setuptools/_distutils/py38compat.py index 7dbe8cef54..59224e71e5 100644 --- a/third_party/python/setuptools/setuptools/_distutils/py38compat.py +++ b/third_party/python/setuptools/setuptools/_distutils/py38compat.py @@ -1,7 +1,8 @@ def aix_platform(osname, version, release): try: import _aix_support + return _aix_support.aix_platform() except ImportError: pass - return "%s-%s.%s" % (osname, version, release) + return "{}-{}.{}".format(osname, version, release) |