aboutsummaryrefslogtreecommitdiff
path: root/libcxxabi
diff options
context:
space:
mode:
authorJustin Bogner <mail@justinbogner.com>2014-12-13 02:49:27 +0000
committerJustin Bogner <mail@justinbogner.com>2014-12-13 02:49:27 +0000
commit035b964d728f8ea973c08603597051c50333cc99 (patch)
tree2f8844483f5dd2cb0a4a610762b5002d5165c202 /libcxxabi
parentefa6197ab76e151a3ec253dcd9dbd716f60a92c8 (diff)
downloadllvm-035b964d728f8ea973c08603597051c50333cc99.zip
llvm-035b964d728f8ea973c08603597051c50333cc99.tar.gz
llvm-035b964d728f8ea973c08603597051c50333cc99.tar.bz2
Use the newer python syntax for exceptions
We've dropped support for python 2.5, so now we can use the forward compatible "except ... as" syntax. llvm-svn: 224182
Diffstat (limited to 'libcxxabi')
-rw-r--r--libcxxabi/test/lit.cfg2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcxxabi/test/lit.cfg b/libcxxabi/test/lit.cfg
index 9372fd6..0ba6e28 100644
--- 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)