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
881e137f
Commit
881e137f
authored
Mar 11, 2013
by
Calen Pennington
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Save lcp state when a problem is saved
parent
95f8f811
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
16 deletions
+2
-16
common/lib/xmodule/xmodule/capa_module.py
+2
-0
jenkins/quality.sh
+0
-16
No files found.
common/lib/xmodule/xmodule/capa_module.py
View file @
881e137f
...
...
@@ -734,6 +734,8 @@ class CapaModule(XModule):
self
.
lcp
.
student_answers
=
answers
self
.
set_state_from_lcp
()
self
.
system
.
track_function
(
'save_problem_success'
,
event_info
)
msg
=
"Your answers have been saved"
if
not
self
.
max_attempts
==
0
:
...
...
jenkins/quality.sh
deleted
100755 → 0
View file @
95f8f811
#! /bin/bash
set
-e
set
-x
git remote prune origin
# Reset the submodule, in case it changed
git submodule foreach
'git reset --hard HEAD'
# Set the IO encoding to UTF-8 so that askbot will start
export
PYTHONIOENCODING
=
UTF-8
rake clobber
rake pep8
||
echo
"pep8 failed, continuing"
rake pylint
||
echo
"pylint failed, continuing"
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