comparison backend/AbstractFeedUpdater.py @ 245:8e73a8ae863f

Fix the docstrings
author Dirk Olmes <dirk@xanthippe.ping.de>
date Tue, 09 Jun 2015 02:30:55 +0200
parents b46d7fe6390b
children
comparison
equal deleted inserted replaced
244:b46d7fe6390b 245:8e73a8ae863f
6 from urllib2 import ProxyHandler 6 from urllib2 import ProxyHandler
7 7
8 STATUS_ERROR = 400 8 STATUS_ERROR = 400
9 log = logging.getLogger("FeedUpdater") 9 log = logging.getLogger("FeedUpdater")
10 10
11 """
12 Abstract base class for FeedUpdater implementations - handles all the parsing of the feed.
13 Subclasses need to implement creating and storing the new feed entries.
14 """
11 class AbstractFeedUpdater(object): 15 class AbstractFeedUpdater(object):
12 '''
13 Abstract base class for FeedUpdater implementations - handles all the parsing of the feed.
14 Subclasses need to implement creating and storing the new feed entries.
15 '''
16 16
17 def __init__(self, preferences): 17 def __init__(self, preferences):
18 self.preferences = preferences 18 self.preferences = preferences
19 19
20 def update(self, feed): 20 def update(self, feed):