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
ba9a0341
Commit
ba9a0341
authored
Oct 30, 2012
by
Chris Dodge
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unneeded debugging traces
parent
ee1098c0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
6 deletions
+0
-6
cms/djangoapps/contentstore/views.py
+0
-3
common/lib/xmodule/xmodule/modulestore/mongo.py
+0
-1
lms/djangoapps/courseware/module_render.py
+0
-2
No files found.
cms/djangoapps/contentstore/views.py
View file @
ba9a0341
...
@@ -288,12 +288,9 @@ def edit_unit(request, location):
...
@@ -288,12 +288,9 @@ def edit_unit(request, location):
# this will need to change to check permissions correctly so as
# this will need to change to check permissions correctly so as
# to pick the correct parent subsection
# to pick the correct parent subsection
logging
.
debug
(
'looking for parent of {0}'
.
format
(
location
))
containing_subsection_locs
=
modulestore
()
.
get_parent_locations
(
location
)
containing_subsection_locs
=
modulestore
()
.
get_parent_locations
(
location
)
containing_subsection
=
modulestore
()
.
get_item
(
containing_subsection_locs
[
0
])
containing_subsection
=
modulestore
()
.
get_item
(
containing_subsection_locs
[
0
])
logging
.
debug
(
'looking for parent of {0}'
.
format
(
containing_subsection
.
location
))
containing_section_locs
=
modulestore
()
.
get_parent_locations
(
containing_subsection
.
location
)
containing_section_locs
=
modulestore
()
.
get_parent_locations
(
containing_subsection
.
location
)
containing_section
=
modulestore
()
.
get_item
(
containing_section_locs
[
0
])
containing_section
=
modulestore
()
.
get_item
(
containing_section_locs
[
0
])
...
...
common/lib/xmodule/xmodule/modulestore/mongo.py
View file @
ba9a0341
...
@@ -50,7 +50,6 @@ class CachingDescriptorSystem(MakoDescriptorSystem):
...
@@ -50,7 +50,6 @@ class CachingDescriptorSystem(MakoDescriptorSystem):
self
.
load_item
,
resources_fs
,
error_tracker
,
render_template
)
self
.
load_item
,
resources_fs
,
error_tracker
,
render_template
)
self
.
modulestore
=
modulestore
self
.
modulestore
=
modulestore
self
.
module_data
=
module_data
self
.
module_data
=
module_data
self
.
default_class
=
default_class
self
.
default_class
=
default_class
def
load_item
(
self
,
location
):
def
load_item
(
self
,
location
):
...
...
lms/djangoapps/courseware/module_render.py
View file @
ba9a0341
...
@@ -259,8 +259,6 @@ def _get_module(user, request, location, student_module_cache, course_id, positi
...
@@ -259,8 +259,6 @@ def _get_module(user, request, location, student_module_cache, course_id, positi
module
.
metadata
[
'data_dir'
]
if
'data_dir'
in
module
.
metadata
else
''
,
module
.
metadata
[
'data_dir'
]
if
'data_dir'
in
module
.
metadata
else
''
,
course_namespace
=
module
.
location
.
_replace
(
category
=
None
,
name
=
None
))
course_namespace
=
module
.
location
.
_replace
(
category
=
None
,
name
=
None
))
logging
.
debug
(
'in get_module'
)
# Allow URLs of the form '/course/' refer to the root of multicourse directory
# Allow URLs of the form '/course/' refer to the root of multicourse directory
# hierarchy of this course
# hierarchy of this course
module
.
get_html
=
replace_course_urls
(
module
.
get_html
,
course_id
)
module
.
get_html
=
replace_course_urls
(
module
.
get_html
,
course_id
)
...
...
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