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
fe5d2c74
Commit
fe5d2c74
authored
Jan 17, 2014
by
Ned Batchelder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use self.runtime instead of self.system
[LMS-1597]
parent
4aa4c514
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
12 deletions
+12
-12
common/lib/xmodule/xmodule/capa_base.py
+12
-12
No files found.
common/lib/xmodule/xmodule/capa_base.py
View file @
fe5d2c74
...
@@ -261,18 +261,18 @@ class CapaMixin(CapaFields):
...
@@ -261,18 +261,18 @@ class CapaMixin(CapaFields):
text
=
self
.
data
text
=
self
.
data
capa_system
=
LoncapaSystem
(
capa_system
=
LoncapaSystem
(
ajax_url
=
self
.
system
.
ajax_url
,
ajax_url
=
self
.
runtime
.
ajax_url
,
anonymous_student_id
=
self
.
system
.
anonymous_student_id
,
anonymous_student_id
=
self
.
runtime
.
anonymous_student_id
,
cache
=
self
.
system
.
cache
,
cache
=
self
.
runtime
.
cache
,
can_execute_unsafe_code
=
self
.
system
.
can_execute_unsafe_code
,
can_execute_unsafe_code
=
self
.
runtime
.
can_execute_unsafe_code
,
DEBUG
=
self
.
system
.
DEBUG
,
DEBUG
=
self
.
runtime
.
DEBUG
,
filestore
=
self
.
system
.
filestore
,
filestore
=
self
.
runtime
.
filestore
,
i18n
=
self
.
system
.
service
(
self
,
"i18n"
),
i18n
=
self
.
runtime
.
service
(
self
,
"i18n"
),
node_path
=
self
.
system
.
node_path
,
node_path
=
self
.
runtime
.
node_path
,
render_template
=
self
.
system
.
render_template
,
render_template
=
self
.
runtime
.
render_template
,
seed
=
self
.
system
.
seed
,
# Why do we do this if we have self.seed?
seed
=
self
.
runtime
.
seed
,
# Why do we do this if we have self.seed?
STATIC_URL
=
self
.
system
.
STATIC_URL
,
STATIC_URL
=
self
.
runtime
.
STATIC_URL
,
xqueue
=
self
.
system
.
xqueue
,
xqueue
=
self
.
runtime
.
xqueue
,
)
)
return
LoncapaProblem
(
return
LoncapaProblem
(
...
...
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