From dfba151f59366f461ceb0d0ea1b6be6c89dc6d10 Mon Sep 17 00:00:00 2001 From: Bernardas Date: Wed, 5 Oct 2016 16:35:23 +0000 Subject: [PATCH] Remove unnecessary note for the JsonWriterPipeline example --- docs/topics/item-pipeline.rst | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/topics/item-pipeline.rst b/docs/topics/item-pipeline.rst index 11b56f1c4..8c7aa361f 100644 --- a/docs/topics/item-pipeline.rst +++ b/docs/topics/item-pipeline.rst @@ -129,14 +129,7 @@ MongoDB address and database name are specified in Scrapy settings; MongoDB collection is named after item class. The main point of this example is to show how to use :meth:`from_crawler` -method and how to clean up the resources properly. - -.. note:: - - Previous example (JsonWriterPipeline) doesn't clean up resources properly. - Fixing it is left as an exercise for the reader. - -:: +method and how to clean up the resources properly.:: import pymongo