Commit d7dbced8 by Calen Pennington

Store the top level course in the XMLModuleStore (since there is only one course per module store

parent 85f294b3
......@@ -75,7 +75,7 @@ class XMLModuleStore(ModuleStore):
XMLParsingSystem.__init__(self, modulestore.get_item, OSFS(data_dir), process_xml)
ImportSystem(self).process_xml(course_file.read())
self.course = ImportSystem(self).process_xml(course_file.read())
def get_item(self, location):
"""
......
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