From 8643b725501248ffcd9f1540adb97df45efc82ea Mon Sep 17 00:00:00 2001 From: David Ormsbee Date: Thu, 17 May 2012 18:00:58 -0400 Subject: [PATCH] Change inaccurate comment. --- common/lib/capa/capa_problem.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/lib/capa/capa_problem.py b/common/lib/capa/capa_problem.py index f051979be4..4b40df6653 100644 --- a/common/lib/capa/capa_problem.py +++ b/common/lib/capa/capa_problem.py @@ -179,8 +179,10 @@ class LoncapaProblem(object): def get_question_answers(self): """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 - not included.""" + an answer (this sometimes happens in customresponses), that answer_id is + not included. Called by "show answers" button JSON request + (see capa_module) + """ context=self.extract_context(self.tree) answer_map = dict() problems_simple = self.extract_problems(self.tree) # purified (flat) XML tree of just response queries