From ad0d304e676835a57a4575d760473fe95dd152e6 Mon Sep 17 00:00:00 2001 From: ichuang Date: Fri, 8 Feb 2013 09:21:36 -0500 Subject: [PATCH] fix instructor dashboard datadump error message to be useful --- lms/djangoapps/instructor/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lms/djangoapps/instructor/views.py b/lms/djangoapps/instructor/views.py index 2bb4f00724..75146b833f 100644 --- a/lms/djangoapps/instructor/views.py +++ b/lms/djangoapps/instructor/views.py @@ -413,7 +413,7 @@ def instructor_dashboard(request, course_id): smdat = StudentModule.objects.filter(course_id=course_id, module_state_key=module_state_key) smdat = smdat.order_by('student') - msg+="Found module to reset. " + msg += "Found %d records to dump " % len(smdat) except Exception as err: msg+="Couldn't find module with that urlname. " msg += "
%s
" % escape(err)