Skip to content
Snippets Groups Projects
Commit 7914bacc authored by Calen Pennington's avatar Calen Pennington
Browse files

Change name of XModuleSystem to DescriptorSystem at usage sites

parent 6fb35c47
No related merge requests found
import pymongo
from . import ModuleStore, Location
from .exceptions import ItemNotFoundError, InsufficientSpecificationError
from xmodule.x_module import XModuleDescriptor, XModuleSystem
from xmodule.x_module import XModuleDescriptor, DescriptorSystem
class MongoModuleStore(ModuleStore):
......@@ -45,7 +45,7 @@ class MongoModuleStore(ModuleStore):
if item is None:
raise ItemNotFoundError(location)
return XModuleDescriptor.load_from_json(item, XModuleSystem(self.get_item))
return XModuleDescriptor.load_from_json(item, DescriptorSystem(self.get_item))
def create_item(self, location, editor):
"""
......
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