Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…lError.
  • Loading branch information...
commit 1f94e0e4add9f77198d07a0ae3044c321c78f712 1 parent 2bb8ec6
@jacobian jacobian authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.