forked from OSchip/llvm-project
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
e589e7e336
commit
7761243e0e
|
@ -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