diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-12-13 02:49:27 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-12-13 02:49:27 +0000 |
commit | 035b964d728f8ea973c08603597051c50333cc99 (patch) | |
tree | 2f8844483f5dd2cb0a4a610762b5002d5165c202 /libcxxabi | |
parent | efa6197ab76e151a3ec253dcd9dbd716f60a92c8 (diff) | |
download | llvm-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.cfg | 2 |
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) |