mirror of
https://github.com/valitydev/salt.git
synced 2024-11-09 01:36:48 +00:00
modules.ddns: __virtual__ return err msg.
Updated message in ddns module when return False if dnspython is not installed.
This commit is contained in:
parent
0d260cadc5
commit
3b7778e45a
@ -48,7 +48,7 @@ def __virtual__():
|
||||
'''
|
||||
if dns_support:
|
||||
return 'ddns'
|
||||
return False
|
||||
return (False, 'The ddns execution module cannot be loaded: dnspython not installed.')
|
||||
|
||||
|
||||
def _config(name, key=None, **kwargs):
|
||||
|
Loading…
Reference in New Issue
Block a user