mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-28 06:00:28 +00:00
Now that we require a newer python, use the new exception syntax.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224130 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
708bc15ff0
commit
fe6c7ee0f0
@ -153,7 +153,7 @@ def executeShCmd(cmd, cfg, cwd, results):
|
||||
stderr = stderr,
|
||||
env = cfg.environment,
|
||||
close_fds = kUseCloseFDs))
|
||||
except OSError, e:
|
||||
except OSError as 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