Author: bogner
Date: Fri Dec 12 20:49:27 2014
New Revision: 224182

URL: http://llvm.org/viewvc/llvm-project?rev=224182&view=rev
Log:
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.

Modified:
    libcxxabi/trunk/test/lit.cfg

Modified: libcxxabi/trunk/test/lit.cfg
URL: 
http://llvm.org/viewvc/llvm-project/libcxxabi/trunk/test/lit.cfg?rev=224182&r1=224181&r2=224182&view=diff
==============================================================================
--- libcxxabi/trunk/test/lit.cfg (original)
+++ libcxxabi/trunk/test/lit.cfg Fri Dec 12 20:49:27 2014
@@ -32,7 +32,7 @@ class LibcxxabiTestFormat(lit.formats.Fi
         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)


_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to