Fixed parentheses VCTOOLKITINSTALLDIR

This commit is contained in:
Josh Yelon 2005-07-01 22:10:48 +00:00
parent fa4d2a16a3
commit d550d6c6ae

View File

@ -734,7 +734,7 @@ def AddToVisualStudioPath(path,add):
def LocateVisualStudio():
# Try to use the Visual Toolkit 2003
if (os.environ.has_key["VCTOOLKITINSTALLDIR"]):
if (os.environ.has_key("VCTOOLKITINSTALLDIR")):
vcdir = os.environ["VCTOOLKITINSTALLDIR"]
platsdk=GetRegistryKey("SOFTWARE\\Microsoft\\MicrosoftSDK\\InstalledSDKs\\8F9E5EF3-A9A5-491B-A889-C58EFFECE8B3",
"Install Dir")