diff --git a/lib/ansible/modules/extras/cloud/rackspace/rax_clb_ssl.py b/lib/ansible/modules/extras/cloud/rackspace/rax_clb_ssl.py index 2013b8c4d8..9077305816 100644 --- a/lib/ansible/modules/extras/cloud/rackspace/rax_clb_ssl.py +++ b/lib/ansible/modules/extras/cloud/rackspace/rax_clb_ssl.py @@ -156,7 +156,7 @@ def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key, if needs_change: try: balancer.add_ssl_termination(**ssl_attrs) - except pyrax.exceptions.PyraxException, e: + except pyrax.exceptions.PyraxException as e: module.fail_json(msg='%s' % e.message) changed = True elif state == 'absent': @@ -164,7 +164,7 @@ def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key, if existing_ssl: try: balancer.delete_ssl_termination() - except pyrax.exceptions.PyraxException, e: + except pyrax.exceptions.PyraxException as e: module.fail_json(msg='%s' % e.message) changed = True @@ -176,7 +176,7 @@ def cloud_load_balancer_ssl(module, loadbalancer, state, enabled, private_key, try: balancer.update(httpsRedirect=https_redirect) - except pyrax.exceptions.PyraxException, e: + except pyrax.exceptions.PyraxException as e: module.fail_json(msg='%s' % e.message) changed = True diff --git a/lib/ansible/modules/extras/test/utils/shippable/sanity-skip-python3.txt b/lib/ansible/modules/extras/test/utils/shippable/sanity-skip-python3.txt index b1e2e75606..6840ee7baa 100644 --- a/lib/ansible/modules/extras/test/utils/shippable/sanity-skip-python3.txt +++ b/lib/ansible/modules/extras/test/utils/shippable/sanity-skip-python3.txt @@ -35,7 +35,6 @@ /cloud/misc/virt_pool.py /cloud/profitbricks/profitbricks.py /cloud/profitbricks/profitbricks_volume.py -/cloud/rackspace/rax_clb_ssl.py /clustering/consul.py /clustering/consul_acl.py /clustering/consul_kv.py