BOM-2281 : Pylint amnesty for grades,gating and instructor app (#26343)
* pyint amnesty for grades,gating and instructor app
This commit is contained in:
@@ -72,7 +72,7 @@ def _change_access(course, user, level, action, send_email=True):
|
||||
try:
|
||||
role = ROLES[level](course.id)
|
||||
except KeyError:
|
||||
raise ValueError(u"unrecognized level '{}'".format(level))
|
||||
raise ValueError(u"unrecognized level '{}'".format(level)) # lint-amnesty, pylint: disable=raise-missing-from
|
||||
|
||||
if action == 'allow':
|
||||
if level == 'ccx_coach':
|
||||
|
||||
Reference in New Issue
Block a user