[lit] Remove uses of deprecated except syntax.
authorDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 03:16:19 +0000 (03:16 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Wed, 7 Aug 2013 03:16:19 +0000 (03:16 +0000)
commit7defa7a74c5fe36e8bd2c20e8c68908884870ccf
treec40fa6e082c3dc431a555e895f6950cce2d981c8
parent5b098421790eba2d4d41558264f12bc1a93893db
[lit] Remove uses of deprecated except syntax.

 - Since we only have a few of these, use the cumbersome method of getting the
   exception object from 'sys' to retain the current pre-2.6 compatibility.

llvm-svn: 187854
llvm/utils/lit/lit/TestRunner.py
llvm/utils/lit/lit/TestingConfig.py
llvm/utils/lit/lit/Util.py