Skip to content
Snippets Groups Projects
Commit 09d53f10 authored by Calen Pennington's avatar Calen Pennington Committed by Matthew Mongeau
Browse files

Change name of XModuleSystem to DescriptorSystem at usage sites

parent b0b728c7
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% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment