Appease buildbots
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@229114 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4205190e07
commit
c3068a136a
@ -31,7 +31,7 @@ class LocalTI(TargetInfo):
|
||||
return platform.system()
|
||||
|
||||
def platform_name(self):
|
||||
if platform() == 'linux':
|
||||
if self.platform() == 'linux':
|
||||
name, _, _ = platform.linux_distribution()
|
||||
name = name.lower().strip()
|
||||
if name:
|
||||
@ -39,7 +39,7 @@ class LocalTI(TargetInfo):
|
||||
return None
|
||||
|
||||
def platform_ver(self):
|
||||
if platform() == 'linux':
|
||||
if self.platform() == 'linux':
|
||||
_, ver, _ = platform.linux_distribution()
|
||||
ver = ver.lower().strip()
|
||||
if ver:
|
||||
|
Loading…
x
Reference in New Issue
Block a user