modules.ddns: __virtual__ return err msg.

Updated message in ddns module when return False if dnspython is not installed.
This commit is contained in:
abednarik 2015-12-14 14:49:45 -03:00
parent 0d260cadc5
commit 3b7778e45a

View File

@ -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):