Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
cdf5dea2
Commit
cdf5dea2
authored
Jun 10, 2016
by
Cliff Dyer
Committed by
GitHub
Jun 10, 2016
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #12717 from edx/tnl/splittest-zerogroup
Ensure split-test group zero content is protected
parents
81e5be22
4212a3c3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
lms/djangoapps/course_blocks/transformers/split_test.py
+1
-1
No files found.
lms/djangoapps/course_blocks/transformers/split_test.py
View file @
cdf5dea2
...
...
@@ -66,7 +66,7 @@ class SplitTestTransformer(BlockStructureTransformer):
for
child_location
in
xblock
.
children
:
child
=
block_structure
.
get_xblock
(
child_location
)
group
=
child_to_group
.
get
(
child_location
,
None
)
child
.
group_access
[
partition_for_this_block
.
id
]
=
[
group
]
if
group
else
[]
child
.
group_access
[
partition_for_this_block
.
id
]
=
[
group
]
if
group
is
not
None
else
[]
def
transform
(
self
,
usage_info
,
block_structure
):
"""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment