update documentation to recent pydispatcher import path change

This commit is contained in:
Daniel Grana 2009-07-09 17:13:30 -03:00
parent 18fbd7c7eb
commit d5d2c5c924
3 changed files with 3 additions and 3 deletions

View File

@ -81,7 +81,7 @@ enabled.
Let's take a look at the following example extension which just logs a message
everytime a domain/spider is opened and closed::
from pydispatch import dispatcher
from scrapy.xlib.pydispatch import dispatcher
from scrapy.core import signals
class SpiderOpenCloseLogging(object):

View File

@ -66,7 +66,7 @@ that were already processed. Let say that our items has an unique id, but our
spider returns multiples items with the same id::
from pydispatch import dispatcher
from scrapy.xlib.pydispatch import dispatcher
from scrapy.core import signals
from scrapy.core.exceptions import DropItem

View File

@ -58,7 +58,7 @@ Example web console extension
Here's an example of a simple web console extension that just displays a "Hello
world!" text::
from pydispatch import dispatcher
from scrapy.xlib.pydispatch import dispatcher
from scrapy.management.web import webconsole_discover_module
class HelloWorldConsole(object):