projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
efa6197
)
Use the newer python syntax for exceptions
author
Justin Bogner
<mail@justinbogner.com>
Sat, 13 Dec 2014 02:49:27 +0000
(
02:49
+0000)
committer
Justin Bogner
<mail@justinbogner.com>
Sat, 13 Dec 2014 02:49:27 +0000
(
02:49
+0000)
We've dropped support for python 2.5, so now we can use the forward
compatible "except ... as" syntax.
llvm-svn: 224182
libcxxabi/test/lit.cfg
patch
|
blob
|
history
diff --git
a/libcxxabi/test/lit.cfg
b/libcxxabi/test/lit.cfg
index
9372fd6
..
0ba6e28
100644
(file)
--- a/
libcxxabi/test/lit.cfg
+++ b/
libcxxabi/test/lit.cfg
@@
-32,7
+32,7
@@
class LibcxxabiTestFormat(lit.formats.FileBasedTest):
while True:
try:
return self._execute(test, lit_config)
- except OSError
,
oe:
+ except OSError
as
oe:
if oe.errno != errno.ETXTBSY:
raise
time.sleep(0.1)