diff options
author | Steven Knight <knight@baldmt.com> | 2001-12-11 02:08:53 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2001-12-11 02:08:53 (GMT) |
commit | e526af454042ab567413e88eb22daf2cb19c0c05 (patch) | |
tree | 7bd4ac8f9aa3aeb4b3253d571fc51eba9598dd27 /src/engine/SCons | |
parent | ee1ca39a5afec8c92e9d427dd18cbd655a2e46dc (diff) | |
download | SCons-e526af454042ab567413e88eb22daf2cb19c0c05.zip SCons-e526af454042ab567413e88eb22daf2cb19c0c05.tar.gz SCons-e526af454042ab567413e88eb22daf2cb19c0c05.tar.bz2 |
Have the C Scanner handle IOError when a file doesn't exist.
Diffstat (limited to 'src/engine/SCons')
-rw-r--r-- | src/engine/SCons/Scanner/C.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Scanner/C.py b/src/engine/SCons/Scanner/C.py index ab48342..953d737 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 [] |