From f04e75db90776d982636cf518f06ba426bb363b4 Mon Sep 17 00:00:00 2001 From: Don Mitchell Date: Mon, 15 Sep 2014 08:59:56 -0400 Subject: [PATCH] Get rid of unused fragment --- .../xmodule/modulestore/split_mongo/mongo_connection.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/common/lib/xmodule/xmodule/modulestore/split_mongo/mongo_connection.py b/common/lib/xmodule/xmodule/modulestore/split_mongo/mongo_connection.py index 7edb808fd4..589d911234 100644 --- a/common/lib/xmodule/xmodule/modulestore/split_mongo/mongo_connection.py +++ b/common/lib/xmodule/xmodule/modulestore/split_mongo/mongo_connection.py @@ -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.