view 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
line wrap: on
line source


class Feed(object):
    def __init__(self, title, rss_url):
        self.title = title
        self.rss_url = rss_url

    def __repr__(self):
        return "<Feed (%d) %s>" % (self.pk, self.title)