OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b3f52a2
)
Now that we require a newer python, use the new exception syntax.
author
Rafael Espindola
<rafael.espindola@gmail.com>
Fri, 12 Dec 2014 15:32:23 +0000
(15:32 +0000)
committer
Dan Albert
<danalbert@google.com>
Thu, 8 Jan 2015 22:44:29 +0000
(14:44 -0800)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@224130
91177308
-0d34-0410-b5e6-
96231b3b80d8
(cherry picked from commit
fe6c7ee0f0e11a368d8c98db7e75d26c1c2b32e6
)
utils/lit/lit/TestRunner.py
patch
|
blob
|
history
diff --git
a/utils/lit/lit/TestRunner.py
b/utils/lit/lit/TestRunner.py
index
b331d19
..
6688029
100644
(file)
--- a/
utils/lit/lit/TestRunner.py
+++ b/
utils/lit/lit/TestRunner.py
@@
-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.