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/Tool/msvs.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/Tool/msvs.py')
-rw-r--r-- | src/engine/SCons/Tool/msvs.py | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/engine/SCons/Tool/msvs.py b/src/engine/SCons/Tool/msvs.py index d4c32ba..68e8fda 100644 --- a/src/engine/SCons/Tool/msvs.py +++ b/src/engine/SCons/Tool/msvs.py @@ -317,6 +317,8 @@ class _GenerateV6DSP(_DSPGenerator): try: datas = base64.decodestring(datas) data = pickle.loads(datas) + except KeyboardInterrupt: + raise except: return # unable to unpickle any data for some reason @@ -334,6 +336,8 @@ class _GenerateV6DSP(_DSPGenerator): try: datas = base64.decodestring(datas) data = pickle.loads(datas) + except KeyboardInterrupt: + raise except: return # unable to unpickle any data for some reason @@ -474,6 +478,8 @@ class _GenerateV7DSP(_DSPGenerator): try: datas = base64.decodestring(datas) data = pickle.loads(datas) + except KeyboardInterrupt: + raise except: return # unable to unpickle any data for some reason @@ -490,6 +496,8 @@ class _GenerateV7DSP(_DSPGenerator): try: datas = base64.decodestring(datas) data = pickle.loads(datas) + except KeyboardInterrupt: + raise except: return # unable to unpickle any data for some reason @@ -567,6 +575,8 @@ class _GenerateV7DSW(_DSWGenerator): try: datas = base64.decodestring(datas) data = pickle.loads(datas) + except KeyboardInterrupt: + raise except: return # unable to unpickle any data for some reason |