summaryrefslogtreecommitdiffstats
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
commit0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c (patch)
tree2392b0f74b0b2b0b122c24d2e04970efb5527d1d
parent06473f855d3d4ca243c528882236ecfb9fdaae3a (diff)
downloadbcm5719-llvm-0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c.tar.gz
bcm5719-llvm-0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c.zip
Prospective Python 3 fix for r198150
llvm-svn: 198152
-rwxr-xr-xllvm/utils/lit/lit/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/lit/lit/main.py b/llvm/utils/lit/lit/main.py
index 3c49e854067..86db3d8f5ac 100755
--- a/llvm/utils/lit/lit/main.py
+++ b/llvm/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
OpenPOWER on IntegriCloud