From 683e6f9abadab4035499d76a864afafd9977beeb Mon Sep 17 00:00:00 2001 From: Awais Qureshi <awais.qureshi@arbisoft.com> Date: Fri, 19 Mar 2021 15:22:03 +0500 Subject: [PATCH] refactor: remove unused imports. --- common/djangoapps/student/models.py | 2 -- common/djangoapps/student/roles.py | 1 - 2 files changed, 3 deletions(-) diff --git a/common/djangoapps/student/models.py b/common/djangoapps/student/models.py index 08d1e2cc2c9..9715c60a34e 100644 --- a/common/djangoapps/student/models.py +++ b/common/djangoapps/student/models.py @@ -24,7 +24,6 @@ from importlib import import_module from urllib.parse import urlencode import warnings -import six from config_models.models import ConfigurationModel from django.apps import apps from django.conf import settings @@ -53,7 +52,6 @@ from opaque_keys.edx.django.models import CourseKeyField, LearningContextKeyFiel from opaque_keys.edx.keys import CourseKey from pytz import UTC, timezone from simple_history.models import HistoricalRecords -from six import text_type from slumber.exceptions import HttpClientError, HttpServerError from user_util import user_util diff --git a/common/djangoapps/student/roles.py b/common/djangoapps/student/roles.py index e936277562f..052eb30862d 100644 --- a/common/djangoapps/student/roles.py +++ b/common/djangoapps/student/roles.py @@ -8,7 +8,6 @@ import logging from abc import ABCMeta, abstractmethod from collections import defaultdict -import six from django.contrib.auth.models import User # lint-amnesty, pylint: disable=imported-auth-user from opaque_keys.edx.django.models import CourseKeyField -- GitLab