Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
problem-builder
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
OpenEdx
problem-builder
Commits
68b6f269
Commit
68b6f269
authored
Mar 18, 2014
by
Xavier Antoviaque
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' into freetext-mrq
parents
7686e722
adcb490a
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
mentoring/utils.py
+1
-5
setup.py
+1
-1
No files found.
mentoring/utils.py
View file @
68b6f269
...
...
@@ -31,7 +31,6 @@ import unicodecsv
from
cStringIO
import
StringIO
from
django.template
import
Context
,
Template
from
xblock.fragment
import
Fragment
from
workbench.scenarios
import
add_xml_scenario
# Globals ###########################################################
...
...
@@ -93,10 +92,7 @@ def load_scenarios_from_path(scenarios_path):
"""
Load all xml files contained in a specified directory, as workbench scenarios
"""
scenarios
=
get_scenarios_from_path
(
scenarios_path
,
include_identifier
=
True
)
for
identifier
,
title
,
xml_template
in
scenarios
:
add_xml_scenario
(
identifier
,
title
,
xml_template
)
return
scenarios
return
get_scenarios_from_path
(
scenarios_path
,
include_identifier
=
True
)
# Classes ###########################################################
...
...
setup.py
View file @
68b6f269
...
...
@@ -73,5 +73,5 @@ setup(
'xblock.v1'
:
BLOCKS
,
'xblock.light_children'
:
BLOCKS_CHILDREN
,
},
package_data
=
package_data
(
"mentoring"
,
[
"static"
,
"templates"
,
"public"
]),
package_data
=
package_data
(
"mentoring"
,
[
"static"
,
"templates"
,
"public"
,
"migrations"
]),
)
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