From 7679fda17229d1f6f367ea88d19ed3d735fe46f2 Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 18 Dec 2012 11:35:08 -0500 Subject: [PATCH] Remove debugging print statements --- common/lib/xmodule/xmodule/course_module.py | 1 - lms/djangoapps/courseware/grades.py | 2 -- lms/djangoapps/courseware/module_render.py | 1 - lms/xmodule_namespace.py | 1 - 4 files changed, 5 deletions(-) diff --git a/common/lib/xmodule/xmodule/course_module.py b/common/lib/xmodule/xmodule/course_module.py index c11024e406..ad68b9a1b3 100644 --- a/common/lib/xmodule/xmodule/course_module.py +++ b/common/lib/xmodule/xmodule/course_module.py @@ -401,7 +401,6 @@ class CourseDescriptor(SequenceDescriptor): @property def start_date_text(self): - print self.advertised_start, self.start return time.strftime("%b %d, %Y", self.advertised_start or self.start) @property diff --git a/lms/djangoapps/courseware/grades.py b/lms/djangoapps/courseware/grades.py index 1d894d3707..b81147f905 100644 --- a/lms/djangoapps/courseware/grades.py +++ b/lms/djangoapps/courseware/grades.py @@ -36,8 +36,6 @@ def yield_dynamic_descriptor_descendents(descriptor, module_creator): def get_dynamic_descriptor_children(descriptor): if descriptor.has_dynamic_children(): module = module_creator(descriptor) - if module is None: - print "FOO", descriptor child_locations = module.get_children_locations() return [descriptor.system.load_item(child_location) for child_location in child_locations ] else: diff --git a/lms/djangoapps/courseware/module_render.py b/lms/djangoapps/courseware/module_render.py index 3fd1abec55..085432cbd9 100644 --- a/lms/djangoapps/courseware/module_render.py +++ b/lms/djangoapps/courseware/module_render.py @@ -92,7 +92,6 @@ def toc_for_course(user, request, course, active_chapter, active_section): chapters = list() for chapter in course_module.get_display_items(): - print chapter, chapter._model_data, chapter._model_data.get('hide_from_toc'), chapter.lms.hide_from_toc if chapter.lms.hide_from_toc: continue diff --git a/lms/xmodule_namespace.py b/lms/xmodule_namespace.py index 976bd4483f..3a72a64dff 100644 --- a/lms/xmodule_namespace.py +++ b/lms/xmodule_namespace.py @@ -4,7 +4,6 @@ from xmodule.fields import Date class StringyBoolean(Boolean): def from_json(self, value): - print "StringyBoolean ", value if isinstance(value, basestring): return value.lower() == 'true' return value