mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
smtp returner does not require gnupg to be installed
This commit is contained in:
parent
5ff5e97598
commit
27449c5a9b
1 changed files with 1 additions and 3 deletions
|
@ -132,9 +132,7 @@ __virtualname__ = 'smtp'
|
|||
|
||||
|
||||
def __virtual__():
|
||||
if HAS_GNUPG:
|
||||
return __virtualname__
|
||||
return False, 'Could not import smtp returner; gnupg is not installed.'
|
||||
return __virtualname__
|
||||
|
||||
|
||||
def _get_options(ret=None):
|
||||
|
|
Loading…
Add table
Reference in a new issue