diff options
author | Alp Toker <alp@nuanti.com> | 2013-12-29 05:51:07 +0000 |
---|---|---|
committer | Alp Toker <alp@nuanti.com> | 2013-12-29 05:51:07 +0000 |
commit | 0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c (patch) | |
tree | 2392b0f74b0b2b0b122c24d2e04970efb5527d1d | |
parent | 06473f855d3d4ca243c528882236ecfb9fdaae3a (diff) | |
download | bcm5719-llvm-0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c.tar.gz bcm5719-llvm-0324ee0a33cc4c9fa9ead99e42f5e84cb9d0568c.zip |
Prospective Python 3 fix for r198150
llvm-svn: 198152
-rwxr-xr-x | llvm/utils/lit/lit/main.py | 2 |
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 |