Permalink
Browse files

Feedcore: Cleanup unused code parts

  • Loading branch information...
1 parent 0fe8a6e commit 57051e788fe3fd05e8462a531d33856438456094 @thp thp committed Jan 2, 2012
Showing with 1 addition and 11 deletions.
  1. +1 −11 src/gpodder/feedcore.py
View
@@ -122,15 +122,6 @@ class Fetcher(object):
def __init__(self, user_agent):
self.user_agent = user_agent
- def _get_handlers(self):
- """Provide additional urllib2 handler objects
-
- Subclasses can override this method to inject urllib2
- handler objects into the feedparser.parse() call to
- extent the functionalty of this Fetcher (for proxies, ..)
- """
- return []
-
def _resolve_url(self, url):
"""Provide additional ways of resolving an URL
@@ -242,8 +233,7 @@ def _parse_feed(self, url, etag, modified, autodiscovery=True):
feed = feedparser.parse(url,
agent=self.user_agent,
modified=modified,
- etag=etag,
- handlers=self._get_handlers())
+ etag=etag)
if is_local:
if feed.version:

0 comments on commit 57051e7

Please sign in to comment.