From: stevenknight Date: Sat, 24 Sep 2005 22:07:47 +0000 (+0000) Subject: Fix leftover SCons.Util references. (Ralf W. Grosse-Kunstleve and Patrick Mezard) X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7beef749e953da8e39f1bc5f2cf0026caf975165;p=scons.git Fix leftover SCons.Util references. (Ralf W. Grosse-Kunstleve and Patrick Mezard) git-svn-id: http://scons.tigris.org/svn/scons/trunk@1348 fdb21ef1-2011-0410-befe-b5e4ea1792b1 --- diff --git a/src/CHANGES.txt b/src/CHANGES.txt index 4846e441..3c657433 100644 --- a/src/CHANGES.txt +++ b/src/CHANGES.txt @@ -86,6 +86,11 @@ RELEASE 0.97 - XXX check for the build engine in the parent directory of the Python library directory (/usr/lib64 instead of /usr/lib). + From Ralph W. Grosse-Kunstleve and Patrick Mezard: + + - Remove unneceesary (and incorrect) SCons.Util strings on some function + calls in SCons.Util. + From Stephen Kennedy: - Speed up writing the .sconsign file at the end of a run by only diff --git a/src/engine/SCons/Util.py b/src/engine/SCons/Util.py index 90e5393d..958b8c7f 100644 --- a/src/engine/SCons/Util.py +++ b/src/engine/SCons/Util.py @@ -506,8 +506,8 @@ if can_read_reg: p = key.rfind('\\') + 1 keyp = key[:p] val = key[p:] - k = SCons.Util.RegOpenKeyEx(root, keyp) - return SCons.Util.RegQueryValueEx(k,val) + k = RegOpenKeyEx(root, keyp) + return RegQueryValueEx(k,val) if sys.platform == 'win32':