From 435afb6e26d3d1d39930cf240c6b9bedb409ba77 Mon Sep 17 00:00:00 2001 From: Pedro Algarvio Date: Thu, 15 Jan 2015 01:22:35 +0000 Subject: [PATCH] No logging should be done in `__virtual__` --- salt/modules/boto_vpc.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/salt/modules/boto_vpc.py b/salt/modules/boto_vpc.py index ac77bd7eb5..0c12e4149c 100644 --- a/salt/modules/boto_vpc.py +++ b/salt/modules/boto_vpc.py @@ -67,14 +67,10 @@ def __virtual__(): # which was added in boto 2.8.0 # https://github.com/boto/boto/commit/33ac26b416fbb48a60602542b4ce15dcc7029f12 if not HAS_BOTO: - log.debug('The boto_vpc module requires boto {0} to be installed.'.format(required_boto_version)) return False elif _LooseVersion(boto.__version__) < _LooseVersion(required_boto_version): - log.debug('The boto_vpc module requires boto {0} to be installed. Current boto version: {1}'.format( - required_boto_version, boto.__version__)) return False else: - log.debug('Installed boto version: {0}'.format(boto.__version__)) return True