From d550d6c6aeb146ea81b8ddf9dcc2ca29ced714d1 Mon Sep 17 00:00:00 2001 From: Josh Yelon Date: Fri, 1 Jul 2005 22:10:48 +0000 Subject: [PATCH] Fixed parentheses VCTOOLKITINSTALLDIR --- doc/makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/makepanda/makepanda.py b/doc/makepanda/makepanda.py index be6a0a66ae..52a95f3f69 100755 --- a/doc/makepanda/makepanda.py +++ b/doc/makepanda/makepanda.py @@ -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")