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
3d167093
Commit
3d167093
authored
Jan 17, 2016
by
David Ormsbee
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "load mapping test"
This reverts commit
6eae1e7c
.
parent
6eae1e7c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
7 deletions
+1
-7
common/lib/xmodule/xmodule/modulestore/django.py
+1
-7
No files found.
common/lib/xmodule/xmodule/modulestore/django.py
View file @
3d167093
...
...
@@ -123,8 +123,6 @@ def load_function(path):
return
getattr
(
import_module
(
module_path
),
name
)
load_function_mapping
=
{}
def
create_modulestore_instance
(
engine
,
content_store
,
...
...
@@ -138,11 +136,7 @@ def create_modulestore_instance(
"""
This will return a new instance of a modulestore given an engine and options
"""
if
engine
in
load_function_mapping
:
class_
=
load_function_mapping
[
engine
]
else
:
class_
=
load_function
(
engine
)
load_function_mapping
[
engine
]
=
class_
class_
=
load_function
(
engine
)
_options
=
{}
_options
.
update
(
options
)
...
...
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