From 9c44a4b360fe975559e578b6e9cbda9aa2b7f4cf Mon Sep 17 00:00:00 2001 From: Thomas Nagy Date: Sun, 22 May 2016 17:10:21 +0200 Subject: [PATCH] Remove print_all_msvc_detected --- docs/sphinx/confmap.rst | 4 ---- waflib/Tools/msvc.py | 12 +----------- 2 files changed, 1 insertion(+), 15 deletions(-) diff --git a/docs/sphinx/confmap.rst b/docs/sphinx/confmap.rst index 23eec1c4..86fca098 100644 --- a/docs/sphinx/confmap.rst +++ b/docs/sphinx/confmap.rst @@ -469,10 +469,6 @@ Configuration methods * post_check_ -.. _print_all_msvc_detected: tools/msvc.html#waflib.Tools.msvc.print_all_msvc_detected - -* print_all_msvc_detected_ - .. _program: tools/c_aliases.html#waflib.Tools.c_aliases.program * program_ diff --git a/waflib/Tools/msvc.py b/waflib/Tools/msvc.py index 85eece71..da4a194b 100644 --- a/waflib/Tools/msvc.py +++ b/waflib/Tools/msvc.py @@ -591,7 +591,7 @@ def get_msvc_versions(self): :return: list of compilers installed :rtype: list """ - # Gather all the compiler versions and targets + # Gather all compiler versions and targets lst = [] self.gather_icl_versions(lst) self.gather_intel_composer_versions(lst) @@ -599,16 +599,6 @@ def get_msvc_versions(self): self.gather_msvc_versions(lst) return lst -@conf -def print_all_msvc_detected(self): - """ - Print the contents of *self.env.MSVC_INSTALLED_VERSIONS* - """ - for version,targets in self.env['MSVC_INSTALLED_VERSIONS']: - Logs.info(version) - for target,l in targets: - Logs.info("\t"+target) - @conf def find_lt_names_msvc(self, libname, is_static=False): """