diff options
author | Steven Knight <knight@baldmt.com> | 2003-10-21 12:18:38 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2003-10-21 12:18:38 (GMT) |
commit | 4618fabde17038bd961f93ceb9af6b31e778540b (patch) | |
tree | 0c55b5e749ce9acbb8092e92d4d7c0b1a198fff6 /src/engine/SCons/Util.py | |
parent | 41327e986275b57ad9ff92d402276ffb318e9e7b (diff) | |
download | SCons-4618fabde17038bd961f93ceb9af6b31e778540b.zip SCons-4618fabde17038bd961f93ceb9af6b31e778540b.tar.gz SCons-4618fabde17038bd961f93ceb9af6b31e778540b.tar.bz2 |
Better detection of KeyboardInterrupts. (Christoph Wiedemann)
Diffstat (limited to 'src/engine/SCons/Util.py')
-rw-r--r-- | src/engine/SCons/Util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index c0bc6ac..41e3883 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -804,7 +804,7 @@ else: if os.path.isfile(f): try: st = os.stat(f) - except: + except OSError: continue if stat.S_IMODE(st[stat.ST_MODE]) & 0111: return os.path.normpath(f) |