From 1ebc8b055c93d116daf945595d20826a32d4ad1b Mon Sep 17 00:00:00 2001 From: Rebecca David Date: Wed, 24 Jan 2024 11:42:23 -0500 Subject: [PATCH] fix(test-case-failure): Fix quality check failure fix(test-case-failure): Fix quality check failure fix(test-case-failure): Fix quality check failure fix(test-case-failure): Fix quality check failure --- openedx/features/termsofservice/api/v1/views.py | 3 --- openedx/features/termsofservice/views.py | 4 ---- 2 files changed, 7 deletions(-) diff --git a/openedx/features/termsofservice/api/v1/views.py b/openedx/features/termsofservice/api/v1/views.py index 48f9daf34e48..076dac4f1fc7 100644 --- a/openedx/features/termsofservice/api/v1/views.py +++ b/openedx/features/termsofservice/api/v1/views.py @@ -2,16 +2,13 @@ from django.views.decorators.csrf import ensure_csrf_cookie from django.http import HttpResponse, JsonResponse - from django.contrib.sites.models import Site from django.conf import settings from openedx.core.djangoapps.site_configuration import helpers as configuration_helpers - from openedx.features.termsofservice.models import TermsOfServiceSites, TermsOfService from openedx.features.termsofservice.models import TermsOfServiceAcknowledgement, TermsOfServiceAllSites - @ensure_csrf_cookie def terms_of_service_api(request): # lint-amnesty, pylint: disable=missing-function-docstring latest_tos_html = '' diff --git a/openedx/features/termsofservice/views.py b/openedx/features/termsofservice/views.py index 74ab0e07dc3b..ed7c8e327766 100644 --- a/openedx/features/termsofservice/views.py +++ b/openedx/features/termsofservice/views.py @@ -7,10 +7,6 @@ from .models import TermsOfService, TermsOfServiceAllSites, TermsOfServiceSites - - - - logger = logging.getLogger(__name__)