view Feed.py @ 3:2ac144a98370

add the .hgignore file to ignore .pyc files
author Dirk Olmes <dirk@xanthippe.ping.de>
date Mon, 26 Apr 2010 17:43:48 +0200
parents 8a624ee48a74
children e0199f383442
line wrap: on
line source


class Feed(object):
    def __init__(self, name, url):
        self.name = name
        self.url = url

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