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
2aec53aa
Commit
2aec53aa
authored
Jan 06, 2012
by
Piotr Mitros
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
New-style classes
parent
138ff04f
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
courseware/capa_problem.py
+1
-1
courseware/x_module.py
+1
-1
No files found.
courseware/capa_problem.py
View file @
2aec53aa
...
@@ -13,7 +13,7 @@ def strip_dict(d):
...
@@ -13,7 +13,7 @@ def strip_dict(d):
(
type
(
d
[
k
])
==
float
or
type
(
d
[
k
])
==
int
)
])
(
type
(
d
[
k
])
==
float
or
type
(
d
[
k
])
==
int
)
])
return
d
return
d
class
LoncapaProblem
():
class
LoncapaProblem
(
object
):
def
get_state
(
self
):
def
get_state
(
self
):
''' Stored per-user session data neeeded to:
''' Stored per-user session data neeeded to:
1) Recreate the problem
1) Recreate the problem
...
...
courseware/x_module.py
View file @
2aec53aa
class
XModule
:
class
XModule
(
object
)
:
''' Implements a generic learning module.
''' Implements a generic learning module.
Initialized on access with __init__, first time with state=None, and
Initialized on access with __init__, first time with state=None, and
then with state
then with state
...
...
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