[LNT] r282517 - More modern exception
Chris Matthews via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 27 11:16:52 PDT 2016
Author: cmatthews
Date: Tue Sep 27 13:16:52 2016
New Revision: 282517
URL: http://llvm.org/viewvc/llvm-project?rev=282517&view=rev
Log:
More modern exception
Modified:
lnt/trunk/lnt/tests/compile.py
Modified: lnt/trunk/lnt/tests/compile.py
URL: http://llvm.org/viewvc/llvm-project/lnt/trunk/lnt/tests/compile.py?rev=282517&r1=282516&r2=282517&view=diff
==============================================================================
--- lnt/trunk/lnt/tests/compile.py (original)
+++ lnt/trunk/lnt/tests/compile.py Tue Sep 27 13:16:52 2016
@@ -863,7 +863,7 @@ class CompileTest(builtintest.BuiltinTes
try:
os.mkdir(g_output_dir)
- except OSError(e):
+ except OSError as e:
if e.errno == errno.EEXIST:
parser.error("sandbox output directory %r already exists!" % (
g_output_dir,))
More information about the llvm-commits
mailing list