From b07402e75154a87fef7d12d049ace94b183579f3 Mon Sep 17 00:00:00 2001 From: Troy Sankey Date: Thu, 9 Nov 2017 11:55:41 -0500 Subject: [PATCH] remove unused optparse imports --- .../student/management/commands/bulk_change_enrollment.py | 1 - lms/djangoapps/courseware/management/commands/dump_course_ids.py | 1 - .../courseware/management/commands/dump_course_structure.py | 1 - 3 files changed, 3 deletions(-) diff --git a/common/djangoapps/student/management/commands/bulk_change_enrollment.py b/common/djangoapps/student/management/commands/bulk_change_enrollment.py index 9dbda939c0..3214d4d932 100644 --- a/common/djangoapps/student/management/commands/bulk_change_enrollment.py +++ b/common/djangoapps/student/management/commands/bulk_change_enrollment.py @@ -5,7 +5,6 @@ from django.core.management.base import BaseCommand, CommandError from django.db import transaction from opaque_keys import InvalidKeyError from opaque_keys.edx.keys import CourseKey -from optparse import make_option from six import text_type from openedx.core.djangoapps.content.course_overviews.models import CourseOverview diff --git a/lms/djangoapps/courseware/management/commands/dump_course_ids.py b/lms/djangoapps/courseware/management/commands/dump_course_ids.py index 25dee61594..1175d3447e 100644 --- a/lms/djangoapps/courseware/management/commands/dump_course_ids.py +++ b/lms/djangoapps/courseware/management/commands/dump_course_ids.py @@ -5,7 +5,6 @@ Output is UTF-8 encoded by default. """ from __future__ import unicode_literals -from optparse import make_option from textwrap import dedent from six import text_type diff --git a/lms/djangoapps/courseware/management/commands/dump_course_structure.py b/lms/djangoapps/courseware/management/commands/dump_course_structure.py index d272f8d6a2..120db44b2f 100644 --- a/lms/djangoapps/courseware/management/commands/dump_course_structure.py +++ b/lms/djangoapps/courseware/management/commands/dump_course_structure.py @@ -17,7 +17,6 @@ The resulting JSON object has one entry for each module in the course: """ import json -from optparse import make_option from textwrap import dedent from django.core.management.base import BaseCommand, CommandError