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()
|
return platform.system()
|
||||||
|
|
||||||
def platform_name(self):
|
def platform_name(self):
|
||||||
if platform() == 'linux':
|
if self.platform() == 'linux':
|
||||||
name, _, _ = platform.linux_distribution()
|
name, _, _ = platform.linux_distribution()
|
||||||
name = name.lower().strip()
|
name = name.lower().strip()
|
||||||
if name:
|
if name:
|
||||||
@ -39,7 +39,7 @@ class LocalTI(TargetInfo):
|
|||||||
return None
|
return None
|
||||||
|
|
||||||
def platform_ver(self):
|
def platform_ver(self):
|
||||||
if platform() == 'linux':
|
if self.platform() == 'linux':
|
||||||
_, ver, _ = platform.linux_distribution()
|
_, ver, _ = platform.linux_distribution()
|
||||||
ver = ver.lower().strip()
|
ver = ver.lower().strip()
|
||||||
if ver:
|
if ver:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user