1
0
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:
David Majnemer 2014-12-08 08:33:30 +00:00
parent 953adcfdf0
commit 97d6a1e3a0

View File

@ -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.