Skip to content
This repository has been archived by the owner on Aug 26, 2022. It is now read-only.

Commit

Permalink
bug 1271509: Remove unneeded .get() for verbosity
Browse files Browse the repository at this point in the history
Verbosity is included in all Django management commands. Assume it is
available, like scrape_user does.
  • Loading branch information
jwhitlock committed Jun 6, 2017
1 parent 8797346 commit e9045a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kuma/scrape/management/commands/scrape_document.py
Expand Up @@ -29,7 +29,7 @@ def add_arguments(self, parser):
' ("all" for all)'))

def handle(self, *arg, **options):
self.setup_logging(options.get('verbosity'))
self.setup_logging(options['verbosity'])
host, ssl, path = self.parse_url_or_path(options['url'])
scraper = self.make_scraper(host=host, ssl=ssl)

Expand Down

0 comments on commit e9045a9

Please sign in to comment.