Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Oops; [420] needed to be fixed in another place

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@421 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit d333f3f3591dd7ec9897ba83ba3745d22e930f2a 1 parent 1022e8c
jacob authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  django_website/apps/aggregator/bin/update_feeds.py
2  django_website/apps/aggregator/bin/update_feeds.py
View
@@ -14,7 +14,7 @@ def update_feeds():
for feed in feeds.get_iterator(is_defunct__exact=False):
for entry in feedparser.parse(feed.feed_url).entries:
try:
- feeditem = feed.get_feeditem(guid__exact=str(entry.id))
+ feeditem = feed.get_feeditem(guid__exact=str(entry.get("id", entry.link)))
except feeditems.FeedItemDoesNotExist:
for i in ("summary", "content", "description"):
summary = entry.get(i, "")
Please sign in to comment.
Something went wrong with that request. Please try again.