Mercurial > hg > Feedworm
comparison Feed.py @ 7:215c34f61e95
Feed.url -> Feed.rss_url
author | Dirk Olmes <dirk@xanthippe.ping.de> |
---|---|
date | Tue, 27 Apr 2010 02:38:21 +0200 |
parents | e0199f383442 |
children | 3ffecc709da9 |
comparison
equal
deleted
inserted
replaced
6:87317ba41816 | 7:215c34f61e95 |
---|---|
1 | 1 |
2 class Feed(object): | 2 class Feed(object): |
3 def __init__(self, name, url): | 3 def __init__(self, title, rss_url): |
4 self.name = name | 4 self.title = title |
5 self.url = url | 5 self.rss_url = rss_url |
6 | 6 |
7 def __repr__(self): | 7 def __repr__(self): |
8 return "<Feed (%d) %s>" % (self.pk, self.name) | 8 return "<Feed (%d) %s>" % (self.pk, self.title) |