Commit f04e75db by Don Mitchell

Get rid of unused fragment

parent e18e18a8
...@@ -3,7 +3,6 @@ Segregation of pymongo functions from the data modeling mechanisms for split mod ...@@ -3,7 +3,6 @@ Segregation of pymongo functions from the data modeling mechanisms for split mod
""" """
import re import re
import pymongo import pymongo
from bson import son
from contracts import check from contracts import check
from xmodule.exceptions import HeartbeatFailure from xmodule.exceptions import HeartbeatFailure
from xmodule.modulestore.split_mongo import BlockKey from xmodule.modulestore.split_mongo import BlockKey
...@@ -60,13 +59,6 @@ def structure_to_mongo(structure): ...@@ -60,13 +59,6 @@ def structure_to_mongo(structure):
return new_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): class MongoConnection(object):
""" """
Segregation of pymongo functions from the data modeling mechanisms for split modulestore. Segregation of pymongo functions from the data modeling mechanisms for split modulestore.
......
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