Fixed failing on filesystem events.

- Found when running eris over the cpython codebase.
This commit is contained in:
Andrew Hamilton 2020-04-20 22:09:14 +10:00
parent be42070097
commit 187b937236

View file

@ -288,7 +288,7 @@ class Summary:
full_path = os.path.join(self._root_path, path)
try:
change_time = os.stat(full_path).st_ctime
except FileNotFoundError:
except OSError:
return
row = [tools.Result(path, tool) for tool in tools.tools_for_path(path)]
entry = Entry(path, row, change_time)