Permalink
Browse files

Fixed error in djangoproject.com update_feeds.py. Refs #2117

git-svn-id: http://code.djangoproject.com/svn/djangoproject.com@3106 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 12b11ef commit a270288797ab5c6ce82dc112d48ed8b5763cf9ec adrian committed Jun 8, 2006
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
@@ -38,7 +38,7 @@ def update_feeds():
date_modified = datetime.datetime.now()
try:
- feed.feeditem_set.filter(guid=guid)
+ feed.feeditem_set.get(guid=guid)
except FeedItem.DoesNotExist:
feed.feeditem_set.create(title=title, link=link, summary=content, guid=guid, date_modified=date_modified)

0 comments on commit a270288

Please sign in to comment.