Commit 0b8866ef by Chris Dodge

forgot to return dictionary on get_errored_courses

parent 5ee5beaf
......@@ -129,7 +129,7 @@ class MixedModuleStore(ModuleStoreBase):
def get_modulestore_type(self, course_id):
"""
Returns a type which identifies which modulestore is servicing the given
Returns a type which identifies which modulestore is servicing the given
course_id. The return can be either "xml" (for XML based courses) or "mongo" for MongoDB backed courses
"""
return self._get_modulestore_for_courseid(course_id).get_modulestore_type(course_id)
......@@ -142,3 +142,4 @@ class MixedModuleStore(ModuleStoreBase):
errs = {}
for store in self.modulestores.values():
errs.update(store.get_errored_courses())
return errs
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