summaryrefslogtreecommitdiff
path: root/lib/ansible/modules/cloud/amazon/lambda_policy.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ansible/modules/cloud/amazon/lambda_policy.py')
-rw-r--r--lib/ansible/modules/cloud/amazon/lambda_policy.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/modules/cloud/amazon/lambda_policy.py b/lib/ansible/modules/cloud/amazon/lambda_policy.py
index 2b647c2be0..82823ad149 100644
--- a/lib/ansible/modules/cloud/amazon/lambda_policy.py
+++ b/lib/ansible/modules/cloud/amazon/lambda_policy.py
@@ -134,7 +134,7 @@ from ansible.module_utils.ec2 import get_aws_connection_info, boto3_conn
try:
from botocore.exceptions import ClientError
-except:
+except Exception:
pass # will be protected by AnsibleAWSModule