From d5d2c5c924157c4151d6f373e0b1ebe08ee3bdca Mon Sep 17 00:00:00 2001 From: Daniel Grana Date: Thu, 9 Jul 2009 17:13:30 -0300 Subject: [PATCH] update documentation to recent pydispatcher import path change --- docs/topics/extensions.rst | 2 +- docs/topics/item-pipeline.rst | 2 +- docs/topics/webconsole.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/topics/extensions.rst b/docs/topics/extensions.rst index f7b189944..62524658e 100644 --- a/docs/topics/extensions.rst +++ b/docs/topics/extensions.rst @@ -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): diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst index fbf67c3c5..6b97a0657 100644 --- a/docs/topics/item-pipeline.rst +++ b/docs/topics/item-pipeline.rst @@ -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 diff --git a/docs/topics/webconsole.rst b/docs/topics/webconsole.rst index c525a121f..646439122 100644 --- a/docs/topics/webconsole.rst +++ b/docs/topics/webconsole.rst @@ -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):