From a7c7ceb975af3c4965d7a6ad5186b96ad045eb5c Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 28 Sep 2015 15:49:30 -0400 Subject: [PATCH] Use super(...) to call delete_item from split_draft.py --- .../lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py b/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py index abd93230f6..c31c481611 100644 --- a/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py +++ b/common/lib/xmodule/xmodule/modulestore/split_mongo/split_draft.py @@ -214,7 +214,7 @@ class DraftVersioningModuleStore(SplitMongoModuleStore, ModuleStoreDraftAndPubli for branch in branches_to_delete: branched_location = location.for_branch(branch) parent_loc = self.get_parent_location(branched_location) - SplitMongoModuleStore.delete_item(self, branched_location, user_id) + super(DraftVersioningModuleStore, self).delete_item(branched_location, user_id) # publish parent w/o child if deleted element is direct only (not based on type of parent) # publish vertical to behave more like the old mongo/draft modulestore - TNL-2593 if (