Flake8 fixes.

This commit is contained in:
Chris Church 2016-09-26 22:15:26 -04:00
parent 5ed59a4c52
commit 41d05b0ae8
2 changed files with 1 additions and 3 deletions

View File

@ -1,7 +1,5 @@
# Python
import json
import logging
import os
import urlparse
# Django

View File

@ -112,7 +112,7 @@ class Command(BaseCommand):
if os.path.exists(license_file):
try:
raw_license_data = open(license_file).read()
license_data = json.loads(raw_license_data)
json.loads(raw_license_data)
except Exception as e:
raise CommandError('Error reading license from {0}: {1!r}'.format(license_file, e))
if self.backup_suffix: