From 9fdd5b11344929700791d097cf2b146a9cc26648 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Mon, 2 Jul 2012 20:23:19 -0400 Subject: [PATCH] Don't dump the entire LoncapaProblem text in the unicode string --- common/lib/capa/capa/capa_problem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/lib/capa/capa/capa_problem.py b/common/lib/capa/capa/capa_problem.py index 20aabbdf31..46f6c7ad7c 100644 --- a/common/lib/capa/capa/capa_problem.py +++ b/common/lib/capa/capa/capa_problem.py @@ -126,7 +126,7 @@ class LoncapaProblem(object): self.done = False def __unicode__(self): - return u"LoncapaProblem ({0})".format(self.problem_text) + return u"LoncapaProblem ({0})".format(self.problem_id) def get_state(self): ''' Stored per-user session data neeeded to: