Commit b75b0915 by Vik Paruchuri

Remove 2 more debug statements

parent c1218e8c
...@@ -579,7 +579,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild): ...@@ -579,7 +579,6 @@ class OpenEndedModule(openendedchild.OpenEndedChild):
'check_for_score': self.check_for_score, 'check_for_score': self.check_for_score,
} }
log.debug(dispatch)
if dispatch not in handlers: if dispatch not in handlers:
#This is a dev_facing_error #This is a dev_facing_error
log.error("Cannot find {0} in handlers in handle_ajax function for open_ended_module.py".format(dispatch)) log.error("Cannot find {0} in handlers in handle_ajax function for open_ended_module.py".format(dispatch))
......
...@@ -57,7 +57,7 @@ class PeerGradingModule(XModule): ...@@ -57,7 +57,7 @@ class PeerGradingModule(XModule):
self.peer_gs = PeerGradingService(self.system.open_ended_grading_interface, self.system) self.peer_gs = PeerGradingService(self.system.open_ended_grading_interface, self.system)
else: else:
self.peer_gs = MockPeerGradingService() self.peer_gs = MockPeerGradingService()
if self.use_for_single_location in TRUE_DICT: if self.use_for_single_location in TRUE_DICT:
try: try:
self.linked_problem = modulestore().get_instance(self.system.course_id, self.link_to_location) self.linked_problem = modulestore().get_instance(self.system.course_id, self.link_to_location)
...@@ -479,7 +479,6 @@ class PeerGradingModule(XModule): ...@@ -479,7 +479,6 @@ class PeerGradingModule(XModule):
problem_location = problem['location'] problem_location = problem['location']
descriptor = _find_corresponding_module_for_location(problem_location) descriptor = _find_corresponding_module_for_location(problem_location)
if descriptor: if descriptor:
log.debug(descriptor.__dict__)
problem['due'] = descriptor._model_data.get('peer_grading_due', None) problem['due'] = descriptor._model_data.get('peer_grading_due', None)
grace_period_string = descriptor._model_data.get('graceperiod', None) grace_period_string = descriptor._model_data.get('graceperiod', None)
try: try:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment