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
3a5f718a
Commit
3a5f718a
authored
Sep 04, 2013
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix simple things because, damn
parent
e284ac68
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
cms/djangoapps/models/settings/course_metadata.py
+3
-4
No files found.
cms/djangoapps/models/settings/course_metadata.py
View file @
3a5f718a
...
...
@@ -3,7 +3,6 @@ from contentstore.utils import get_modulestore
from
xmodule.modulestore.inheritance
import
own_metadata
from
xblock.core
import
Scope
from
xmodule.course_module
import
CourseDescriptor
import
copy
class
CourseMetadata
(
object
):
...
...
@@ -55,9 +54,9 @@ class CourseMetadata(object):
dirty
=
False
#
Copy the filtered list to avoid permanently changing the class attribute
filtered_list
=
copy
.
copy
(
cls
.
FILTERED_LIST
)
#
Don't filter on the tab attribute if filter_tabs is False
#
Copy the filtered list to avoid permanently changing the class attribute.
filtered_list
=
list
(
cls
.
FILTERED_LIST
)
#
Don't filter on the tab attribute if filter_tabs is False.
if
not
filter_tabs
:
filtered_list
.
remove
(
"tabs"
)
...
...
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