Skip to content

Scrapy, a fast high-level web crawling & scraping framework for Python.

remove unused lines from shell command

Daniel Granab83851dcc3b6
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)