mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-08 06:12:51 +00:00
E501 fixes (#22879)
This commit is contained in:
@@ -254,7 +254,8 @@ def main():
|
||||
sendgrid_lib_args = [api_key, bcc, cc, headers, from_name, html_body, attachments]
|
||||
|
||||
if any(lib_arg is not None for lib_arg in sendgrid_lib_args) and not HAS_SENDGRID:
|
||||
module.fail_json(msg='You must install the sendgrid python library if you want to use any of the following arguments: api_key, bcc, cc, headers, from_name, html_body, attachments')
|
||||
module.fail_json(msg='You must install the sendgrid python library if you want to use any of the following arguments: '
|
||||
'api_key, bcc, cc, headers, from_name, html_body, attachments')
|
||||
|
||||
response, info = post_sendgrid_api(module, username, password,
|
||||
from_address, to_addresses, subject, body, attachments=attachments,
|
||||
|
||||
Reference in New Issue
Block a user