From 6524def4b8e6d46037a6b5f4020490826fffde1d Mon Sep 17 00:00:00 2001 From: molveyra Date: Thu, 4 Jun 2009 10:44:40 -0300 Subject: [PATCH] dont check guid in RobustScrapedItem.validate. Instead, raise NotImplemented. --- scrapy/contrib/item/models.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scrapy/contrib/item/models.py b/scrapy/contrib/item/models.py index 9be21cc93..f172d808a 100644 --- a/scrapy/contrib/item/models.py +++ b/scrapy/contrib/item/models.py @@ -196,8 +196,7 @@ class RobustScrapedItem(ScrapedItem): def validate(self): """Method used to validate item attributes data""" - if not self.guid: - raise ValidationError('A guid is required') + raise NotImplemented @property def version(self):