refactor: remove unused variables (#29304)

I have come across these unused variables and thought it's good to remove and clean up the code.
This commit is contained in:
Awais Jibran
2021-11-12 00:28:35 +05:00
committed by GitHub
parent d9a91d4c38
commit deba009e25

View File

@@ -129,10 +129,6 @@ def instructor_dashboard_2(request, course_id): # lint-amnesty, pylint: disable
if not request.user.has_perm(permissions.VIEW_DASHBOARD, course_key):
raise Http404()
is_white_label = CourseMode.is_white_label(course_key) # lint-amnesty, pylint: disable=unused-variable
reports_enabled = configuration_helpers.get_value('SHOW_ECOMMERCE_REPORTS', False) # lint-amnesty, pylint: disable=unused-variable
sections = []
if access['staff']:
sections_content = [