mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
lit: Don't use python 2.6 features
LLVM supports python 2.5, this fixes a (somewhat) recent regression. llvm-svn: 223626
This commit is contained in:
parent
953adcfdf0
commit
97d6a1e3a0
@ -152,7 +152,7 @@ def executeShCmd(cmd, cfg, cwd, results):
|
||||
stderr = stderr,
|
||||
env = cfg.environment,
|
||||
close_fds = kUseCloseFDs))
|
||||
except OSError as e:
|
||||
except OSError, e:
|
||||
raise InternalShellError(j, 'Could not create process due to {}'.format(e))
|
||||
|
||||
# Immediately close stdin for any process taking stdin from us.
|
||||
|
Loading…
Reference in New Issue
Block a user