Mercurial > hg > Feedworm
diff FeedEntry.py @ 5:bfd47f55d85b
add the updated date of the feed
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Mon, 26 Apr 2010 20:46:37 +0200 |
parents | e0199f383442 |
children | 87317ba41816 |
line wrap: on
line diff
--- a/FeedEntry.py Mon Apr 26 19:33:07 2010 +0200 +++ b/FeedEntry.py Mon Apr 26 20:46:37 2010 +0200 @@ -5,11 +5,8 @@ result = session.query(FeedEntry).filter(FeedEntry.id == id) return result.first() - def __init__(self, id, url, title, summary): - self.id = id - self.url = url - self.title = title - self.summary = summary + def __init__(self): + pass def __repr__(self): return "<FeedEntry (%d) %s>" % (self.pk, self.link)