TE-2689 Remove useless pylint suppressions part 4

This commit is contained in:
Jeremy Bowman
2018-08-20 12:02:26 -04:00
parent f022e98971
commit 3ff3eee2f2
45 changed files with 47 additions and 69 deletions

View File

@@ -91,7 +91,7 @@ def gating_enabled(default=None):
otherwise the result of the decorated function
"""
def wrap(f): # pylint: disable=missing-docstring
def function_wrapper(course, *args): # pylint: disable=missing-docstring
def function_wrapper(course, *args):
if not course.enable_subsection_gating:
return default
return f(course, *args)