Browse files

Display the label of the notice we're sending in emit_notices

Signed-off-by: Brian Rosner <>
  • Loading branch information...
1 parent ed72c3f commit f35917a468a7e37bae540d2be233b1eea0f3f791 @diox diox committed with brosner Mar 31, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 notification/
2 notification/
@@ -47,7 +47,7 @@ def send_all():
notices = pickle.loads(str(queued_batch.pickled_data).decode("base64"))
for user, label, extra_context, on_site, sender in notices:
user = User.objects.get(pk=user)
-"emitting notice to %s" % user)
+"emitting notice %s to %s" % (label, 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, sender)

0 comments on commit f35917a

Please sign in to comment.