From 751155eadeb3b053666804061608b0ceb41f15f6 Mon Sep 17 00:00:00 2001 From: Pengyu CHEN Date: Thu, 19 Nov 2015 00:38:05 +0800 Subject: [PATCH] removed: Unused code --- scrapy/linkextractors/sgml.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/scrapy/linkextractors/sgml.py b/scrapy/linkextractors/sgml.py index 7084d0180..9938e071f 100644 --- a/scrapy/linkextractors/sgml.py +++ b/scrapy/linkextractors/sgml.py @@ -124,9 +124,6 @@ class SgmlLinkExtractor(FilteringLinkExtractor): restrict_xpaths=restrict_xpaths, restrict_css=restrict_css, canonicalize=canonicalize, deny_extensions=deny_extensions) - # FIXME: was added to fix a RegexLinkExtractor testcase - self.base_url = None - def extract_links(self, response): base_url = None if self.restrict_xpaths: