mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-03 19:15:30 +00:00
lit: Don't use python 2.6 features
LLVM supports python 2.5, this fixes a (somewhat) recent regression. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@223626 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
e4a5390406
commit
726bd41602
@ -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…
x
Reference in New Issue
Block a user