mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-25 04:39:44 +00:00
Prospective Python 3 fix for r198150
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@198152 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
343bda6487
commit
aa29cf421a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user