From: Trent Mick Date: Tue, 25 Apr 2006 00:34:50 +0000 (+0000) Subject: Put break at correct level so *all* root HKEYs acutally get checked for X-Git-Tag: v2.5a2~34 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e96b229d2ad3944592b1889bb277388fec086049;p=python Put break at correct level so *all* root HKEYs acutally get checked for an installed VC6. Otherwise only the first such tree gets checked and this warning doesn't get displayed. --- diff --git a/Lib/distutils/msvccompiler.py b/Lib/distutils/msvccompiler.py index f88f36526c..d24d0ac6e0 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -618,7 +618,7 @@ class MSVCCompiler (CCompiler) : "but the expected registry settings are not present.\n" "You must at least run the Visual Studio GUI once " "so that these entries are created.") - break + break return [] def set_path_env_var(self, name):