Archived
1
0

removed test for existence of reliability in config from WikipediaParser init

This commit is contained in:
RTB 2014-06-08 19:31:34 +02:00
parent bbc9abadb8
commit 806b816c30

View File

@ -24,9 +24,6 @@ class WikipediaParser(Source):
def __init__(self, config={}): def __init__(self, config={}):
Source.__init__(self, config) Source.__init__(self, config)
self.cfg = config self.cfg = config
if 'reliability' not in self.cfg or self.cfg['reliability'] == '':
log.msg('Reliability not set for Wikipedia', level=log.WARNING)
self.cfg['reliability'] = ''
def parse(self, response): def parse(self, response):
""" Distributes the above described behaviour """ """ Distributes the above described behaviour """