mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-10-30 16:17:05 +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:
@@ -153,7 +153,7 @@ def executeShCmd(cmd, cfg, cwd, results):
|
|||||||
stderr = stderr,
|
stderr = stderr,
|
||||||
env = cfg.environment,
|
env = cfg.environment,
|
||||||
close_fds = kUseCloseFDs))
|
close_fds = kUseCloseFDs))
|
||||||
except OSError, e:
|
except OSError as e:
|
||||||
raise InternalShellError(j, 'Could not create process due to {}'.format(e))
|
raise InternalShellError(j, 'Could not create process due to {}'.format(e))
|
||||||
|
|
||||||
# Immediately close stdin for any process taking stdin from us.
|
# Immediately close stdin for any process taking stdin from us.
|
||||||
|
|||||||
Reference in New Issue
Block a user