From b83851dcc3b676e98d5343c4f909e266f8fab230 Mon Sep 17 00:00:00 2001 From: Daniel Grana Date: Tue, 7 Jul 2009 16:24:59 -0300 Subject: [PATCH] remove unused lines from shell command --- scrapy/command/commands/shell.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/scrapy/command/commands/shell.py b/scrapy/command/commands/shell.py index 12af9c155..6aa4ea05d 100644 --- a/scrapy/command/commands/shell.py +++ b/scrapy/command/commands/shell.py @@ -35,8 +35,6 @@ class Command(ScrapyCommand): pass def get_url(self, url): - response = None - url = url.strip() if url: u = urlparse.urlparse(url)