From: Trent Mick Date: Tue, 25 Apr 2006 00:34:35 +0000 (+0000) Subject: Put break at correct level so *all* root HKEYs acutally get checked for X-Git-Tag: v2.4.4c1~247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ee5dd604f0e4d66664c7478e2bec49dd2382836;p=thirdparty%2FPython%2Fcpython.git 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 9758dd6c356d..46e2cd31af38 100644 --- a/Lib/distutils/msvccompiler.py +++ b/Lib/distutils/msvccompiler.py @@ -580,7 +580,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):