From 625c69fdc73c74cdb4172c4642842ed4f6f31432 Mon Sep 17 00:00:00 2001 From: Joakim Uddholm Date: Mon, 8 Aug 2016 14:32:53 +0200 Subject: [PATCH] Fixed typo in error message when selecting a callback method for the parse command. --- scrapy/commands/parse.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scrapy/commands/parse.py b/scrapy/commands/parse.py index 0185bcabd..6a8978415 100644 --- a/scrapy/commands/parse.py +++ b/scrapy/commands/parse.py @@ -175,7 +175,7 @@ class Command(ScrapyCommand): cb = cb_method else: logger.error('Cannot find callback %(callback)r in spider: %(spider)s', - {'callback': callback, 'spider': spider.name}) + {'callback': cb, 'spider': spider.name}) return # parse items and requests