Archived
1
0

Utils can't use the logging facilities as they aren't started yet

This commit is contained in:
Jip J. Dekker 2014-06-15 20:07:11 +02:00
parent 4672903c9b
commit f604c3efcc

View File

@ -1,6 +1,5 @@
import ConfigParser
from scrapy import log
from scrapy.utils.project import get_project_settings
@ -90,7 +89,6 @@ class Configurator:
elif config.defaults():
section = config.defaults()
if 'reliability' not in section:
log.msg('Reliability not set for %s' % sourcename,
level=log.WARNING)
print 'Reliability not set for %s' % sourcename
section['reliability'] = ''
return section