From acc64df657c12b0cfc98ce3d0a0a86a2be51744a Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Wed, 7 Oct 2015 00:16:11 +0200 Subject: [PATCH] IronPython fix for VisualStudio detection --- waflib/Tools/msvc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index 3bb1a9a9..1bb896f8 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -235,7 +235,7 @@ def gather_wsdk_versions(conf, versions): path,type = Utils.winreg.QueryValueEx(msvc_version,'InstallationFolder') except WindowsError: continue - if os.path.isfile(os.path.join(path, 'bin', 'SetEnv.cmd')): + if path and os.path.isfile(os.path.join(path, 'bin', 'SetEnv.cmd')): targets = [] for target,arch in all_msvc_platforms: try: