Get rid of unused fragment

This commit is contained in:
Don Mitchell
2014-09-15 08:59:56 -04:00
parent e18e18a855
commit f04e75db90

View File

@@ -3,7 +3,6 @@ Segregation of pymongo functions from the data modeling mechanisms for split mod
"""
import re
import pymongo
from bson import son
from contracts import check
from xmodule.exceptions import HeartbeatFailure
from xmodule.modulestore.split_mongo import BlockKey
@@ -60,13 +59,6 @@ def structure_to_mongo(structure):
return new_structure
def definition_from_mongo(definition):
"""
Converts 'fields.children' from a list [[block_type, block_id]] to [BlockKey]
"""
new_def = dict(definition)
class MongoConnection(object):
"""
Segregation of pymongo functions from the data modeling mechanisms for split modulestore.