From 547660fd873bc6644ac5a244d962e72bde4fa860 Mon Sep 17 00:00:00 2001 From: Sarina Canelake Date: Sun, 30 Nov 2014 18:15:13 -0500 Subject: [PATCH] Resolve "pointless-string-statement" pylint violation --- .../instructor/views/instructor_dashboard.py | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/lms/djangoapps/instructor/views/instructor_dashboard.py b/lms/djangoapps/instructor/views/instructor_dashboard.py index 95a9b116ea..73aa8e839e 100644 --- a/lms/djangoapps/instructor/views/instructor_dashboard.py +++ b/lms/djangoapps/instructor/views/instructor_dashboard.py @@ -114,17 +114,15 @@ def instructor_dashboard_2(request, course_id): return render_to_response('instructor/instructor_dashboard_2/instructor_dashboard_2.html', context) -""" -Section functions starting with _section return a dictionary of section data. +## Section functions starting with _section return a dictionary of section data. -The dictionary must include at least { - 'section_key': 'circus_expo' - 'section_display_name': 'Circus Expo' -} +## The dictionary must include at least { +## 'section_key': 'circus_expo' +## 'section_display_name': 'Circus Expo' +## } -section_key will be used as a css attribute, javascript tie-in, and template import filename. -section_display_name will be used to generate link titles in the nav bar. -""" # pylint: disable=W0105 +## section_key will be used as a css attribute, javascript tie-in, and template import filename. +## section_display_name will be used to generate link titles in the nav bar. def _section_e_commerce(course, access):