mirror of https://github.com/scrapy/scrapy.git
Fixed wrong error message in parse command
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40452
This commit is contained in:
parent
0cff67b25e
commit
aa3ea811d1
|
|
@ -38,8 +38,9 @@ class Command(ScrapyCommand):
|
|||
items = items.union(ret_items)
|
||||
links = links.union(ret_links)
|
||||
else:
|
||||
log.msg('Couldnt find method %s in spider %s' % (method, spider.__name__))
|
||||
log.msg('Couldnt find spider for "%s"' % response.url)
|
||||
continue
|
||||
|
||||
self.print_results(items, links, opts)
|
||||
if items or links:
|
||||
self.print_results(items, links, opts)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue