view Feed.py @ 8:2da2b691345d

unfinished pretty printer for feed's plain text representation
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 27 Apr 2010 03:42:08 +0200
parents 215c34f61e95
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)