Skip to content

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

Fix view command against new --no-redirect option

Paul Tremberthb279bc854699
diff --git a/scrapy/commands/view.py b/scrapy/commands/view.py
index 4eb44f77d..59592d08b 100644
--- a/scrapy/commands/view.py
+++ b/scrapy/commands/view.py
@@ -11,7 +11,7 @@ class Command(fetch.Command):
"contents in a browser"
def add_options(self, parser):
- ScrapyCommand.add_options(self, parser)
+ super(Command, self).add_options(parser)
parser.add_option("--spider", dest="spider",
help="use this spider")