Scrapy, a fast high-level web crawling & scraping framework for Python.
Fixed small bug in adaptor pipelines that tried to work with None values
elpolillae8e87bcb52ed
diff --git a/scrapy/trunk/scrapy/item/adaptors.py b/scrapy/trunk/scrapy/item/adaptors.pyindex 1a037df6f..2a453f01f 100644--- a/scrapy/trunk/scrapy/item/adaptors.py+++ b/scrapy/trunk/scrapy/item/adaptors.py@@ -73,7 +73,7 @@ class AdaptorPipe(list):val = adaptor(val, kwargs or {})if isinstance(val, tuple):next_round.extend(val)- else:+ elif val is not None:next_round.append(val)if self.debug: