2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2024-11-11 12:49:06 +01:00

IronPython fix for VisualStudio detection

This commit is contained in:
Thomas Nagy 2015-10-07 00:16:11 +02:00
parent f5b7209b02
commit acc64df657
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -235,7 +235,7 @@ def gather_wsdk_versions(conf, versions):
path,type = Utils.winreg.QueryValueEx(msvc_version,'InstallationFolder') path,type = Utils.winreg.QueryValueEx(msvc_version,'InstallationFolder')
except WindowsError: except WindowsError:
continue 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 = [] targets = []
for target,arch in all_msvc_platforms: for target,arch in all_msvc_platforms:
try: try: