[PATCH] D67807: [LNT] Python 3 support: Fix except with named exception
Thomas Preud'homme via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Sep 21 08:03:08 PDT 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rL372472: [LNT] Python 3 support: Fix except with named exception (authored by thopre, committed by ).
Herald added a project: LLVM.
Repository:
rL LLVM
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67807/new/
https://reviews.llvm.org/D67807
Files:
lnt/trunk/lnt/tests/compile.py
Index: lnt/trunk/lnt/tests/compile.py
===================================================================
--- lnt/trunk/lnt/tests/compile.py
+++ lnt/trunk/lnt/tests/compile.py
@@ -314,7 +314,7 @@
# Remove any existing content, if necessary.
try:
shutil.rmtree(source_path)
- except OSError, e:
+ except OSError as e:
if e.errno != errno.ENOENT:
raise
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D67807.221173.patch
Type: text/x-patch
Size: 428 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190921/2a0e6164/attachment.bin>
More information about the llvm-commits
mailing list