No logging should happen on __virtual__

This commit is contained in:
Julien Cigar 2015-08-10 16:10:46 +02:00 committed by rallytime
parent ca406eaf3c
commit f0bc3765d9

View file

@ -57,10 +57,6 @@ def __virtual__():
'''
Only load if the pip module is available in __salt__
'''
if not HAS_PIP:
logger.warning(
'An importable pip module could not be found on your system'
)
if 'pip.list' in __salt__:
return __virtualname__
return False