Commit ac9d162d by Ned Batchelder

Fix a failing test. Pennington's Law strikes again.

parent 037fe5f7
...@@ -149,7 +149,7 @@ class ModelDataCache(object): ...@@ -149,7 +149,7 @@ class ModelDataCache(object):
field_name__in=set(field.name for field in fields), field_name__in=set(field.name for field in fields),
) )
elif scope == Scope.student_info: elif scope == Scope.student_info:
self._query( return self._query(
XModuleStudentInfoField, XModuleStudentInfoField,
student=self.user, student=self.user,
field_name__in=set(field.name for field in fields), field_name__in=set(field.name for field in fields),
......
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