Remove errant print line left over from debugging

This commit is contained in:
Calen Pennington
2012-06-29 08:44:03 -04:00
parent 3fdae56a27
commit 3a26b98027

View File

@@ -267,9 +267,9 @@ def get_module(user, request, location, student_module_cache, position=None):
def add_histogram(module):
original_get_html = module.get_html
def get_html():
module_id = module.id
print "Rendering Histogram for ", module_id
histogram = grade_histogram(module_id)
print histogram
render_histogram = len(histogram) > 0
@@ -279,6 +279,7 @@ def add_histogram(module):
'render_histogram': render_histogram,
'module_content': original_get_html()}
return render_to_string("staff_problem_info.html", staff_context)
module.get_html = get_html
return module