Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
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...
commit 1022e8c6dfb3f0d82d9eeae385a47f3eecab6306 1 parent 64515cc
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
@@ -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))
Please sign in to comment.
Something went wrong with that request. Please try again.