diff Feed.py @ 4:e0199f383442

retrieve a feed for the given URL, store entries as feed_entry rows into the database
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Apr 2010 19:33:07 +0200
parents 8a624ee48a74
children 215c34f61e95
line wrap: on
line diff
--- a/Feed.py	Mon Apr 26 17:43:48 2010 +0200
+++ b/Feed.py	Mon Apr 26 19:33:07 2010 +0200
@@ -5,4 +5,4 @@
         self.url = url
 
     def __repr__(self):
-        return "<Feed (%d) %s>" % (self.id, self.name)
+        return "<Feed (%d) %s>" % (self.pk, self.name)