diff options
author | Justin Bogner <mail@justinbogner.com> | 2014-12-13 02:46:56 +0000 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2014-12-13 02:46:56 +0000 |
commit | efa6197ab76e151a3ec253dcd9dbd716f60a92c8 (patch) | |
tree | db3c571ea4918b0f94d0ff496dcf4b2c77c2e937 /compiler-rt/unittests | |
parent | 8bcc05d5f4b4ed042255852ace511a0e071a5541 (diff) | |
download | bcm5719-llvm-efa6197ab76e151a3ec253dcd9dbd716f60a92c8.tar.gz bcm5719-llvm-efa6197ab76e151a3ec253dcd9dbd716f60a92c8.zip |
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: 224181
Diffstat (limited to 'compiler-rt/unittests')
-rw-r--r-- | compiler-rt/unittests/lit.common.unit.configured.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/unittests/lit.common.unit.configured.in b/compiler-rt/unittests/lit.common.unit.configured.in index ab5c253c7d1..18adf6482a5 100644 --- a/compiler-rt/unittests/lit.common.unit.configured.in +++ b/compiler-rt/unittests/lit.common.unit.configured.in @@ -17,7 +17,7 @@ config.host_os = "@HOST_OS@" try: config.llvm_tools_dir = config.llvm_tools_dir % lit_config.params config.llvm_build_mode = config.llvm_build_mode % lit_config.params -except KeyError,e: +except KeyError as e: key, = e.args lit_config.fatal("unable to find %r parameter, use '--param=%s=VALUE'" % (key, key)) |