fix pep8 issue in consul_kv.py (#32310)

This commit is contained in:
nilhase25 2017-10-30 10:37:52 +00:00 committed by Dag Wieers
parent b0954dbeb4
commit 9cff2c376b
2 changed files with 4 additions and 3 deletions

View file

@ -240,10 +240,12 @@ def get_consul_api(module, token=None):
verify=module.params.get('validate_certs'),
token=module.params.get('token'))
def test_dependencies(module):
if not python_consul_installed:
module.fail_json(msg="python-consul required for this module. "\
"see http://python-consul.readthedocs.org/en/latest/#installation")
module.fail_json(msg="python-consul required for this module. "
"see http://python-consul.readthedocs.org/en/latest/#installation")
def main():

View file

@ -131,7 +131,6 @@ lib/ansible/modules/cloud/webfaction/webfaction_app.py
lib/ansible/modules/cloud/webfaction/webfaction_db.py
lib/ansible/modules/cloud/webfaction/webfaction_domain.py
lib/ansible/modules/cloud/webfaction/webfaction_site.py
lib/ansible/modules/clustering/consul_kv.py
lib/ansible/modules/clustering/consul_session.py
lib/ansible/modules/clustering/pacemaker_cluster.py
lib/ansible/modules/database/misc/kibana_plugin.py