diff options
author | David Cournapeau <cournape@gmail.com> | 2009-09-09 05:10:43 (GMT) |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-09-09 05:10:43 (GMT) |
commit | f062569b7a095050c19fc89f57b597a7ce4f13aa (patch) | |
tree | 58eb2858f409d034f283f1f802fc25e40cc178ba /src | |
parent | 0dfeb98c7b81ae4552c39460bba3673ca577b2f6 (diff) | |
download | SCons-f062569b7a095050c19fc89f57b597a7ce4f13aa.zip SCons-f062569b7a095050c19fc89f57b597a7ce4f13aa.tar.gz SCons-f062569b7a095050c19fc89f57b597a7ce4f13aa.tar.bz2 |
BUG: fix regression failure after is_win64 fix.
Add a RegOpenKeyEx 'fake' function when registry is not available.
Diffstat (limited to 'src')
-rw-r--r-- | src/engine/SCons/Util.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index 23d75e1..9e5fe38 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -754,6 +754,9 @@ else: def RegGetValue(root, key): raise WindowsError + def RegOpenKeyEx(root, key): + raise WindowsError + if sys.platform == 'win32': def WhereIs(file, path=None, pathext=None, reject=[]): |