added missing spider argument to log.msg call

This commit is contained in:
Pablo Hoffman 2009-11-04 14:45:34 -02:00
parent 87e322e568
commit 55d584e478
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ class Downloader(object):
# downloader middleware, to speed-up the closing process
if site.closing:
log.msg("Crawled while closing spider: %s" % request, \
level=log.DEBUG)
level=log.DEBUG, spider=spider)
raise IgnoreRequest
return _
return dfd.addBoth(finish_transferring)