Commit 8643b725 by David Ormsbee Committed by Calen Pennington

Change inaccurate comment.

parent 46e108e1
...@@ -179,8 +179,10 @@ class LoncapaProblem(object): ...@@ -179,8 +179,10 @@ class LoncapaProblem(object):
def get_question_answers(self): def get_question_answers(self):
"""Returns a dict of answer_ids to answer values. If we can't generate """Returns a dict of answer_ids to answer values. If we can't generate
an answer (because it's a customresponse type), that answer_id is an answer (this sometimes happens in customresponses), that answer_id is
not included.""" not included. Called by "show answers" button JSON request
(see capa_module)
"""
context=self.extract_context(self.tree) context=self.extract_context(self.tree)
answer_map = dict() answer_map = dict()
problems_simple = self.extract_problems(self.tree) # purified (flat) XML tree of just response queries problems_simple = self.extract_problems(self.tree) # purified (flat) XML tree of just response queries
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment