From 7914baccaa660617b1bf306d94c8cfbe4b848beb Mon Sep 17 00:00:00 2001
From: Calen Pennington <calen.pennington@gmail.com>
Date: Tue, 19 Jun 2012 11:36:22 -0400
Subject: [PATCH] Change name of XModuleSystem to DescriptorSystem at usage
 sites

---
 common/lib/keystore/mongo.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/common/lib/keystore/mongo.py b/common/lib/keystore/mongo.py
index 1bef298fde3..29115a33a7b 100644
--- a/common/lib/keystore/mongo.py
+++ b/common/lib/keystore/mongo.py
@@ -1,7 +1,7 @@
 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):
         """
-- 
GitLab