summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Util.py
diff options
context:
space:
mode:
authorSteven Knight <knight@baldmt.com>2003-10-21 12:18:38 (GMT)
committerSteven Knight <knight@baldmt.com>2003-10-21 12:18:38 (GMT)
commit4618fabde17038bd961f93ceb9af6b31e778540b (patch)
tree0c55b5e749ce9acbb8092e92d4d7c0b1a198fff6 /src/engine/SCons/Util.py
parent41327e986275b57ad9ff92d402276ffb318e9e7b (diff)
downloadSCons-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.py2
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)