aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Albert <danalbert@google.com>2015-01-08 23:38:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-01-08 23:38:52 +0000
commitd74cfd3c1f507ab51b576e0d2ce80dc8906c2e8e (patch)
treeeccd856cf9dee9b45117b34bffda706f5620e1b6
parentf13bcf2b4eeafa087bd649070bd8ed0ded10eb2b (diff)
parent00b724930ddd36b279b20252ba7bae51d0a67785 (diff)
downloadexternal_llvm-d74cfd3c1f507ab51b576e0d2ce80dc8906c2e8e.zip
external_llvm-d74cfd3c1f507ab51b576e0d2ce80dc8906c2e8e.tar.gz
external_llvm-d74cfd3c1f507ab51b576e0d2ce80dc8906c2e8e.tar.bz2
Merge "Now that we require a newer python, use the new exception syntax."
-rw-r--r--utils/lit/lit/TestRunner.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/TestRunner.py b/utils/lit/lit/TestRunner.py
index b331d19..6688029 100644
--- a/utils/lit/lit/TestRunner.py
+++ b/utils/lit/lit/TestRunner.py
@@ -153,7 +153,7 @@ def executeShCmd(cmd, cfg, cwd, results):
stderr = stderr,
env = cfg.environment,
close_fds = kUseCloseFDs))
- except OSError, e:
+ except OSError as e:
raise InternalShellError(j, 'Could not create process due to {}'.format(e))
# Immediately close stdin for any process taking stdin from us.