Permalink
Browse files

fixed recursion failure

git-svn-id: http://django-notification.googlecode.com/svn/trunk@85 590c3fc9-4838-0410-bb95-17a0c9b37ca9
  • Loading branch information...
1 parent bd6969c commit 3bdc4dc09c5f5e36ce0d4d6bc94cc2310173db5e @jezdez jezdez committed Jul 19, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 notification/models.py
View
@@ -205,7 +205,6 @@ def send(recipient, label, extra_context={}, issue_notice=True):
})
context.update(extra_context)
- recipients = []
current_language = get_language()
formats = (
@@ -216,6 +215,7 @@ def send(recipient, label, extra_context={}, issue_notice=True):
) # TODO make formats configurable
for user in recipient:
+ recipients = []
# get user profiles if available
try:
profile = user.get_profile()

0 comments on commit 3bdc4dc

Please sign in to comment.