Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

grammar adjustment

Pablo Hoffman7b664a57b2f1
diff --git a/scrapy/trunk/scrapy/core/engine.py b/scrapy/trunk/scrapy/core/engine.py
index 05f6e1b95..78e7666b5 100644
--- a/scrapy/trunk/scrapy/core/engine.py
+++ b/scrapy/trunk/scrapy/core/engine.py
@@ -253,7 +253,7 @@ class ExecutionEngine(object):
elif item is None:
pass # may be next time.
else:
- log.msg("Spider can return Request, ScrapedItem or None, got '%s' while processing %s" % (type(item).__name__, request), log.WARNING, domain=domain)
+ log.msg("Spider must return Request, ScrapedItem or None, got '%s' while processing %s" % (type(item).__name__, request), log.WARNING, domain=domain)
class _ResultContainer(object):
def append(self, item):