Prospective Python 3 fix for r198150

llvm-svn: 198152
This commit is contained in:
Alp Toker 2013-12-29 05:51:07 +00:00
parent 8904d5719e
commit 0897b6644d

View File

@ -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