Fixed wrong error message in parse command

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40452
This commit is contained in:
elpolilla 2008-12-01 15:49:04 +00:00
parent 0cff67b25e
commit aa3ea811d1
1 changed files with 3 additions and 2 deletions

View File

@ -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)