1
0
mirror of https://github.com/scrapy/scrapy.git synced 2025-02-24 08:43:55 +00:00

Removed code no longer needed

This commit is contained in:
Pablo Hoffman 2010-09-05 20:08:59 -03:00
parent 766f2d910d
commit 5ffc7650bd

View File

@ -160,10 +160,7 @@ class Scraper(object):
"""Process each Request/Item (given in the output parameter) returned
from the given spider
"""
# TODO: keep closing state internally instead of checking engine
if spider in self.engine.closing:
return
elif isinstance(output, Request):
if isinstance(output, Request):
send_catch_log(signal=signals.request_received, request=output, \
spider=spider)
self.engine.crawl(request=output, spider=spider)