Run python-modernize on student/*.py (#20411)

This commit is contained in:
Jeremy Bowman
2019-05-06 14:50:42 -04:00
committed by GitHub
parent 5f9d418d0f
commit 47516dbead
13 changed files with 73 additions and 52 deletions

View File

@@ -4,6 +4,8 @@ authorization has authorization to do so, which infers authorization via role hi
(GlobalStaff is superset of auths of course instructor, ...), which consults the config
to decide whether to check course creator role, and other such functions.
"""
from __future__ import absolute_import
from ccx_keys.locator import CCXBlockUsageLocator, CCXLocator
from django.conf import settings
from django.core.exceptions import PermissionDenied