summaryrefslogtreecommitdiffstats
path: root/src/engine/SCons/Tool/mwcc.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/SCons/Tool/mwcc.py')
-rw-r--r--src/engine/SCons/Tool/mwcc.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine/SCons/Tool/mwcc.py b/src/engine/SCons/Tool/mwcc.py
index c720956..8f1201a 100644
--- a/src/engine/SCons/Tool/mwcc.py
+++ b/src/engine/SCons/Tool/mwcc.py
@@ -99,7 +99,7 @@ def find_versions():
product_key = SCons.Util.RegOpenKeyEx(HLM, product)
i = 0
- while 1:
+ while True:
name = product + '\\' + SCons.Util.RegEnumKey(product_key, i)
name_key = SCons.Util.RegOpenKeyEx(HLM, name)