Commit 415ebec8 by John Jarvis

renaming whitelist to is_whitelisted

parent dbc0f353
......@@ -159,10 +159,10 @@ class XQueueCertInterface(object):
user=student, course_id=course_id)
grade = grades.grade(student, self.request, course)
whitelist = self.whitelist.filter(
is_whitelisted = self.whitelist.filter(
user=student, course_id=course_id, whitelist=True).exists()
if whitelist or grade['grade'] is not None:
if is_whitelisted or grade['grade'] is not None:
# check to see whether the student is on the
# the embargoed country restricted list
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment