From 2e05cf56852cd53bc91a9b9e1c1024fb7a1dfbeb Mon Sep 17 00:00:00 2001 From: Alexandru Cepoi Date: Thu, 21 Jun 2012 20:06:50 +0200 Subject: [PATCH] fix small bug with 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 28bc1467e..3e01c771d 100644 --- a/scrapy/commands/parse.py +++ b/scrapy/commands/parse.py @@ -154,7 +154,7 @@ class Command(ScrapyCommand): cb = cb if callable(cb) else getattr(self.spider, cb, None) if not cb: - log.msg('Cannot find callback %r in spider: %s' % (callback, spider.name)) + log.msg('Cannot find callback %r in spider: %s' % (callback, self.spider.name)) # parse items and requests depth = response.meta['_depth']