summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-12-29 05:51:07 +0000
committerAlp Toker <alp@nuanti.com>2013-12-29 05:51:07 +0000
commitaa29cf421abda05d159268065a81e238aacf5b85 (patch)
tree208ac7ba0a6a2bba860f388dfb0e62ca347829f0 /utils
parent343bda6487cac9ae3d6b15e2140252b32e4ccb9e (diff)
downloadllvm-aa29cf421abda05d159268065a81e238aacf5b85.tar.gz
llvm-aa29cf421abda05d159268065a81e238aacf5b85.tar.bz2
llvm-aa29cf421abda05d159268065a81e238aacf5b85.tar.xz
Prospective Python 3 fix for r198150
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198152 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/lit/lit/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lit/lit/main.py b/utils/lit/lit/main.py
index 3c49e85406..86db3d8f5a 100755
--- a/utils/lit/lit/main.py
+++ b/utils/lit/lit/main.py
@@ -124,7 +124,7 @@ def sort_by_incremental_cache(run, litConfig):
fname = test.getFilePath()
try:
index = -os.path.getmtime(fname)
- except os.error as e:
+ except OSError as e:
if litConfig.debug:
litConfig.note(e)
return index