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:
Alp Toker 2013-12-29 05:51:07 +00:00
parent 343bda6487
commit aa29cf421a

View File

@ -124,7 +124,7 @@ def sort_by_incremental_cache(run, litConfig):
fname = test.getFilePath() fname = test.getFilePath()
try: try:
index = -os.path.getmtime(fname) index = -os.path.getmtime(fname)
except os.error as e: except OSError as e:
if litConfig.debug: if litConfig.debug:
litConfig.note(e) litConfig.note(e)
return index return index