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

Fixed up a bug in the gather_intel_composer_versions that results in an exception being thrown on windows systems with no intel composer versions installed. Raise in issue 1239

Signed-off-by: Thomas Nagy <tnagy2pow10@gmail.com>
This commit is contained in:
Matt Clarkson 2012-12-17 16:53:27 +00:00 committed by Thomas Nagy
parent f42b9410c2
commit 8c566d1a42

View File

@ -454,7 +454,7 @@ def gather_intel_composer_versions(conf, versions):
try: try:
all_versions = Utils.winreg.OpenKey(Utils.winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\\Intel\\Suites') all_versions = Utils.winreg.OpenKey(Utils.winreg.HKEY_LOCAL_MACHINE, 'SOFTWARE\\Intel\\Suites')
except WindowsError: except WindowsError:
pass return
index = 0 index = 0
while 1: while 1:
try: try: