From eedeaf286baf19c8f565f56af7e0763e9db3e04e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Andr=C3=A9s=20Rocha?= Date: Mon, 1 Jul 2013 13:23:24 -0400 Subject: [PATCH] Revert "Fixed abtests to use the preferences scope correctly." This reverts commit 74d20c20284857494d88da512b71d187a925e42a. --- common/lib/xmodule/xmodule/abtest_module.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/lib/xmodule/xmodule/abtest_module.py b/common/lib/xmodule/xmodule/abtest_module.py index 0d65412eae..2e61076e94 100644 --- a/common/lib/xmodule/xmodule/abtest_module.py +++ b/common/lib/xmodule/xmodule/abtest_module.py @@ -129,9 +129,7 @@ class ABTestDescriptor(ABTestFields, RawDescriptor, XmlDescriptor): raise InvalidDefinitionError("ABTest portions must add up to less than or equal to 1") group_portions[DEFAULT] = default_portion - # I have no clue why the line of code below ever existed. - # It was scrambling the order of all the elements in abtest. - # children.sort() + children.sort() return { 'group_portions': group_portions,