Skip to content

Commit

Permalink
modules.ddns: __virtual__ return err msg.
Browse files Browse the repository at this point in the history
Updated message in ddns module when return False if dnspython is not installed.
  • Loading branch information
abednarik committed Dec 14, 2015
1 parent 0d260ca commit 3b7778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/ddns.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 3b7778e

Please sign in to comment.