Browse files

Added a missing "return" in feed_updated hook, fixing the UnboundLoca…

…lError.
  • Loading branch information...
1 parent 2bb8ec6 commit 1f94e0e4add9f77198d07a0ae3044c321c78f712 @jacobian jacobian committed Jul 4, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 django_website/aggregator/models.py
View
1 django_website/aggregator/models.py
@@ -99,6 +99,7 @@ def feed_updated(sender, notification, **kwargs):
feed = Feed.objects.get(feed_url=sender.topic)
except Feed.DoesNotExist:
log.error("Subscription ID %s (%s) doesn't have a feed.", sender.id, sender.topic)
+ return
for entry in notification.entries:
title = entry.title

0 comments on commit 1f94e0e

Please sign in to comment.