From 187b9372368f137487dc18335a8e5974efb8f33e Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Mon, 20 Apr 2020 22:09:14 +1000 Subject: [PATCH] Fixed failing on filesystem events. - Found when running eris over the cpython codebase. --- eris/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eris/__main__.py b/eris/__main__.py index 9602ded..ed69acb 100755 --- a/eris/__main__.py +++ b/eris/__main__.py @@ -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)