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
ebe6bf48
Commit
ebe6bf48
authored
Aug 04, 2012
by
ichuang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove some unnecessary debugging lines in xmodule_modifiers
parent
7fe75030
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
5 deletions
+0
-5
common/djangoapps/xmodule_modifiers.py
+0
-5
No files found.
common/djangoapps/xmodule_modifiers.py
View file @
ebe6bf48
...
@@ -91,13 +91,8 @@ def add_histogram(get_html, module):
...
@@ -91,13 +91,8 @@ def add_histogram(get_html, module):
# TODO (ichuang): Remove after fall 2012 LMS migration done
# TODO (ichuang): Remove after fall 2012 LMS migration done
if
settings
.
MITX_FEATURES
.
get
(
'ENABLE_LMS_MIGRATION'
):
if
settings
.
MITX_FEATURES
.
get
(
'ENABLE_LMS_MIGRATION'
):
filename
=
module
.
definition
.
get
(
'filename'
,
''
)
filename
=
module
.
definition
.
get
(
'filename'
,
''
)
log
.
debug
(
'filename =
%
s'
%
filename
)
data_dir
=
module
.
system
.
filestore
.
root_path
.
rsplit
(
'/'
)[
-
1
]
data_dir
=
module
.
system
.
filestore
.
root_path
.
rsplit
(
'/'
)[
-
1
]
edit_link
=
"https://github.com/MITx/
%
s/tree/master/
%
s"
%
(
data_dir
,
filename
)
edit_link
=
"https://github.com/MITx/
%
s/tree/master/
%
s"
%
(
data_dir
,
filename
)
log
.
debug
(
'edit_link =
%
s'
%
edit_link
)
log
.
debug
(
'module =
%
s'
%
dir
(
module
))
log
.
debug
(
'module type =
%
s'
%
type
(
module
))
log
.
debug
(
'location =
%
s'
%
str
(
module
.
location
))
else
:
else
:
edit_link
=
False
edit_link
=
False
...
...
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