Remove return where no return value is expected.

zerver.lib.notifications.send_future_email has return type None.
So replace `return send_future_email(...` by `send_future_email(...`.
This commit is contained in:
Eklavya Sharma 2016-07-22 21:30:22 +05:30 committed by Tim Abbott
parent a61ef3bc0e
commit 07e36d87a2
1 changed files with 7 additions and 7 deletions

View File

@ -450,13 +450,13 @@ def send_local_email_template_with_delay(recipients, template_prefix,
text_content = loader.render_to_string(template_prefix + ".text", template_payload)
subject = loader.render_to_string(template_prefix + ".subject", template_payload).strip()
return send_future_email(recipients,
html_content,
text_content,
subject,
delay=delay,
sender=sender,
tags=tags)
send_future_email(recipients,
html_content,
text_content,
subject,
delay=delay,
sender=sender,
tags=tags)
def enqueue_welcome_emails(email, name):
# type: (text_type, text_type) -> None