removed old comment

--HG--
extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%40299
This commit is contained in:
Pablo Hoffman 2008-10-05 07:35:58 +00:00
parent acebe63d0a
commit 8dc46c16ce
1 changed files with 0 additions and 6 deletions

View File

@ -8,12 +8,6 @@ from scrapy.core.exceptions import UsageError
def _valid_start_urls(obj):
"""Check the start urls specified are valid"""
# TODO: we should add proper validation here
## This commented if is a test i was doing, it also takes in account the spider's base class (if any)
## it works, but the attribute is checked somewhere else (zope?) and causes to fail
##if not (obj.start_urls or any([hasattr(base, 'start_urls') for base in list(obj.__class__.__bases__)])):
if not obj.start_urls:
raise UsageError("A start url is required")