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
a8cd4633
Commit
a8cd4633
authored
Sep 05, 2012
by
Victor Shnayder
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove debugging statements
parent
f04cd838
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
lms/djangoapps/courseware/grades.py
+2
-4
No files found.
lms/djangoapps/courseware/grades.py
View file @
a8cd4633
...
...
@@ -58,8 +58,8 @@ def yield_problems(request, course, student):
if
section_module
is
None
:
# student doesn't have access to this module, or something else
# went wrong.
log
.
debug
(
"couldn't get module for student {0} for section location {1}"
.
format
(
student
.
username
,
section_descriptor
.
location
))
#
log.debug("couldn't get module for student {0} for section location {1}"
#
.format(student.username, section_descriptor.location))
continue
for
problem
in
yield_module_descendents
(
section_module
):
...
...
@@ -84,8 +84,6 @@ def answer_distributions(request, course):
for
student
in
enrolled_students
:
for
capa_module
in
yield_problems
(
request
,
course
,
student
):
log
.
debug
(
"looking at problem {0} for {1}. answers {2}"
.
format
(
capa_module
.
display_name
,
student
.
username
,
capa_module
.
lcp
.
student_answers
))
for
problem_id
in
capa_module
.
lcp
.
student_answers
:
answer
=
capa_module
.
lcp
.
student_answers
[
problem_id
]
key
=
(
capa_module
.
url_name
,
capa_module
.
display_name
,
problem_id
)
...
...
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