BUG: fix regression failure after is_win64 fix.
authorcournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 9 Sep 2009 05:10:43 +0000 (05:10 +0000)
committercournape <cournape@fdb21ef1-2011-0410-befe-b5e4ea1792b1>
Wed, 9 Sep 2009 05:10:43 +0000 (05:10 +0000)
Add a RegOpenKeyEx 'fake' function when registry is not available.

git-svn-id: http://scons.tigris.org/svn/scons/trunk@4354 fdb21ef1-2011-0410-befe-b5e4ea1792b1

src/engine/SCons/Util.py

index 23d75e1e85df94439fce7b5e4393d0803e8509e3..9e5fe38de19ff597e11ef0110f1f974dea42e70d 100644 (file)
@@ -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=[]):