Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added sender to unpickling in notification.engine.send_all to match p…

…ickling in notification.models.queue.

Signed-off-by: Brian Rosner <>
  • Loading branch information...
commit 69e67105fb7a6d74840b73a9aa890ead7bf11af0 1 parent f4cc717
@mcroydon mcroydon authored brosner committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 notification/
4 notification/
@@ -45,12 +45,12 @@ def send_all():
for queued_batch in NoticeQueueBatch.objects.all():
notices = pickle.loads(str(queued_batch.pickled_data).decode("base64"))
- for user, label, extra_context, on_site in notices:
+ for user, label, extra_context, on_site, sender in notices:
user = User.objects.get(pk=user)"emitting notice to %s" % user)
# call this once per user to be atomic and allow for logging to
# accurately show how long each takes.
- notification.send_now([user], label, extra_context, on_site)
+ notification.send_now([user], label, extra_context, on_site, sender)
sent += 1
batches += 1
Please sign in to comment.
Something went wrong with that request. Please try again.