Browse files

Fixed small bug in [419]

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@420 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 64515cc commit 1022e8c6dfb3f0d82d9eeae385a47f3eecab6306 jacob committed Aug 6, 2005
Showing with 1 addition and 1 deletion.
  1. +1 −1 django_website/apps/aggregator/bin/update_feeds.py
View
2 django_website/apps/aggregator/bin/update_feeds.py
@@ -22,7 +22,7 @@ def update_feeds():
feeditem = feed.add_feeditem(title=str(entry.title),
link=str(entry.link),
summary=str(summary),
- guid=str(entry.id),
+ guid=str(entry.get("id", entry.link)),
date_modified=datetime.datetime.fromtimestamp(time.mktime(entry.modified_parsed)))
else:
feeditem.date_modified = datetime.datetime.fromtimestamp(time.mktime(entry.modified_parsed))

0 comments on commit 1022e8c

Please sign in to comment.