[extensions-web] review: Fix the submit email sending
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web] review: Fix the submit email sending
- Date: Mon, 9 Apr 2012 05:03:30 +0000 (UTC)
commit 93049da476f0ab2dc4131d47b9627980e3c7bfa9
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 9 02:03:19 2012 -0300
review: Fix the submit email sending
sweettooth/review/views.py | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index eeae5ec..7999870 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -340,8 +340,10 @@ def send_email_submitted(request, version):
data = dict(url=url)
+ recipient_list = list(get_all_reviewers().values_list('email', flat=True))
+
message = render_mail(version, 'submitted', data)
- message.to = get_all_reviewers().values_list('email', flat=True)
+ message.to = recipient_list
message.extra_headers.update({'X-SweetTooth-Purpose': 'NewExtension',
'X-SweetTooth-ExtensionCreator': extension.creator.username})
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]