summaryrefslogtreecommitdiffstats
path: root/SCons/Tool/MSCommon/netframework.py
diff options
context:
space:
mode:
Diffstat (limited to 'SCons/Tool/MSCommon/netframework.py')
-rw-r--r--SCons/Tool/MSCommon/netframework.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/SCons/Tool/MSCommon/netframework.py b/SCons/Tool/MSCommon/netframework.py
index b40576a..5e2c33a 100644
--- a/SCons/Tool/MSCommon/netframework.py
+++ b/SCons/Tool/MSCommon/netframework.py
@@ -41,7 +41,7 @@ def find_framework_root():
try:
froot = read_reg(_FRAMEWORKDIR_HKEY_ROOT)
debug("Found framework install root in registry: {}".format(froot))
- except SCons.Util.WinError as e:
+ except OSError:
debug("Could not read reg key {}".format(_FRAMEWORKDIR_HKEY_ROOT))
return None