diff 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 diff
--- a/Feed.py	Tue Apr 27 02:30:50 2010 +0200
+++ b/Feed.py	Tue Apr 27 02:38:21 2010 +0200
@@ -1,8 +1,8 @@
 
 class Feed(object):
-    def __init__(self, name, url):
-        self.name = name
-        self.url = url
+    def __init__(self, title, rss_url):
+        self.title = title
+        self.rss_url = rss_url
 
     def __repr__(self):
-        return "<Feed (%d) %s>" % (self.pk, self.name)
+        return "<Feed (%d) %s>" % (self.pk, self.title)