From 5df7169f9d07971c4d1bd3bc75d8f905b83e0efa Mon Sep 17 00:00:00 2001 From: stevenknight Date: Tue, 11 Dec 2001 02:08:53 +0000 Subject: [PATCH] Have the C Scanner handle IOError when a file doesn't exist. git-svn-id: http://scons.tigris.org/svn/scons/trunk@133 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- src/engine/SCons/Scanner/C.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/SCons/Scanner/C.py b/src/engine/SCons/Scanner/C.py index ab48342b..953d737a 100644 --- a/src/engine/SCons/Scanner/C.py +++ b/src/engine/SCons/Scanner/C.py @@ -91,5 +91,5 @@ def scan(filename, env, node_factory): node_factory) + SCons.Util.find_files(quote_includes, source_dir + paths, node_factory)) - except OSError: + except (IOError, OSError): return [] -- 2.26.2