From 3af9eb25b2aff0ef117ad70f47466b8c4f5b981e Mon Sep 17 00:00:00 2001 From: Andy Armstrong Date: Wed, 8 Oct 2014 15:14:11 -0400 Subject: [PATCH] Minor cleanups --- common/test/acceptance/tests/discussion/test_cohorts.py | 1 + lms/djangoapps/django_comment_client/utils.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/common/test/acceptance/tests/discussion/test_cohorts.py b/common/test/acceptance/tests/discussion/test_cohorts.py index 8ca505c52b..482a35e34d 100644 --- a/common/test/acceptance/tests/discussion/test_cohorts.py +++ b/common/test/acceptance/tests/discussion/test_cohorts.py @@ -73,6 +73,7 @@ class DiscussionTabSingleThreadTest(UniqueCourseTest): self.thread_page = DiscussionTabSingleThreadPage(self.browser, self.course_id, thread_id) # pylint:disable=W0201 self.thread_page.visit() + # pylint:disable=W0613 def refresh_thread_page(self, thread_id): self.browser.refresh() self.thread_page.wait_for_page() diff --git a/lms/djangoapps/django_comment_client/utils.py b/lms/djangoapps/django_comment_client/utils.py index 84f01176dd..8539978779 100644 --- a/lms/djangoapps/django_comment_client/utils.py +++ b/lms/djangoapps/django_comment_client/utils.py @@ -394,7 +394,6 @@ def prepare_content(content, course_key, is_staff=False): @TODO: not all response pre-processing steps are currently integrated into this function. """ - fields = [ 'id', 'title', 'body', 'course_id', 'anonymous', 'anonymous_to_peers', 'endorsed', 'parent_id', 'thread_id', 'votes', 'closed', 'created_at',