Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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
authored August 06, 2005
2  django_website/apps/aggregator/bin/update_feeds.py
@@ -14,7 +14,7 @@ def update_feeds():
14 14
     for feed in feeds.get_iterator(is_defunct__exact=False):
15 15
         for entry in feedparser.parse(feed.feed_url).entries:
16 16
             try:
17  
-                feeditem = feed.get_feeditem(guid__exact=str(entry.id))
  17
+                feeditem = feed.get_feeditem(guid__exact=str(entry.get("id", entry.link)))
18 18
             except feeditems.FeedItemDoesNotExist:
19 19
                 for i in ("summary", "content", "description"):
20 20
                     summary = entry.get(i, "")

0 notes on commit d333f3f

Please sign in to comment.
Something went wrong with that request. Please try again.