From c0ed79397647f90458fb80a7552f1980fd2679d3 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 17 Sep 2012 14:19:23 -0400 Subject: [PATCH] Add an empty get_errored_courses function for the mongo modulestore --- common/lib/xmodule/xmodule/modulestore/mongo.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/common/lib/xmodule/xmodule/modulestore/mongo.py b/common/lib/xmodule/xmodule/modulestore/mongo.py index 7aa05e474f..33901947a6 100644 --- a/common/lib/xmodule/xmodule/modulestore/mongo.py +++ b/common/lib/xmodule/xmodule/modulestore/mongo.py @@ -316,3 +316,9 @@ class MongoModuleStore(ModuleStoreBase): {'_id': True}) return [i['_id'] for i in items] + def get_errored_courses(self): + """ + This function doesn't make sense for the mongo modulestore, as courses + are loaded on demand, rather than up front + """ + return {}