Commit eedeaf28 by Carlos Andrés Rocha

Revert "Fixed abtests to use the preferences scope correctly."

This reverts commit 74d20c20.
parent 74d20c20
...@@ -129,9 +129,7 @@ class ABTestDescriptor(ABTestFields, RawDescriptor, XmlDescriptor): ...@@ -129,9 +129,7 @@ class ABTestDescriptor(ABTestFields, RawDescriptor, XmlDescriptor):
raise InvalidDefinitionError("ABTest portions must add up to less than or equal to 1") raise InvalidDefinitionError("ABTest portions must add up to less than or equal to 1")
group_portions[DEFAULT] = default_portion group_portions[DEFAULT] = default_portion
# I have no clue why the line of code below ever existed. children.sort()
# It was scrambling the order of all the elements in abtest.
# children.sort()
return { return {
'group_portions': group_portions, 'group_portions': group_portions,
......
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