Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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...
commit a270288797ab5c6ce82dc112d48ed8b5763cf9ec 1 parent 12b11ef
authored June 08, 2006
2  django_website/apps/aggregator/bin/update_feeds.py
@@ -38,7 +38,7 @@ def update_feeds():
38 38
                 date_modified = datetime.datetime.now()
39 39
 
40 40
             try:
41  
-                feed.feeditem_set.filter(guid=guid)
  41
+                feed.feeditem_set.get(guid=guid)
42 42
             except FeedItem.DoesNotExist:
43 43
                 feed.feeditem_set.create(title=title, link=link, summary=content, guid=guid, date_modified=date_modified)
44 44
 

0 notes on commit a270288

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