[extensions-web: 59/75] Django signals trip me up again...
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [extensions-web: 59/75] Django signals trip me up again...
- Date: Fri, 23 Sep 2011 03:19:23 +0000 (UTC)
commit 6e4c426392faf986facd4249fd99135989c33792
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Sep 22 01:34:17 2011 -0400
Django signals trip me up again...
sweettooth/review/views.py | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/sweettooth/review/views.py b/sweettooth/review/views.py
index a1998aa..048426f 100644
--- a/sweettooth/review/views.py
+++ b/sweettooth/review/views.py
@@ -146,7 +146,7 @@ This email was sent automatically by GNOME Shell Extensions. Do not reply.
""".strip()
@receiver(models.submitted_for_review)
-def send_email_on_submitted(sender, version):
+def send_email_on_submitted(sender, version, **kwargs):
extension = version.extension
data = dict(ver=version.version,
@@ -174,7 +174,7 @@ Please use the review page to follow up with any comments or concerns.
""".strip()
@receiver(models.reviewed)
-def send_email_on_reviewed(sender, version, review):
+def send_email_on_reviewed(sender, version, review, **kwargs):
if review.reviewer == version.creator:
# Don't spam the creator with his own review
return
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]