Unnecessary logs.

This commit is contained in:
Awais Jibran
2020-03-12 15:15:22 +05:00
parent 6a25ca800b
commit 084b409662
2 changed files with 1 additions and 13 deletions

View File

@@ -306,10 +306,7 @@ class LibraryContentModule(LibraryContentFields, XModule, StudioEditableModule):
current user.
"""
for block_type, block_id in self.selected_children():
child = self.runtime.get_block(self.location.course_key.make_usage_key(block_type, block_id))
if child is None:
logger.info("Child not found for %s %s", str(block_type), str(block_id))
yield child
yield self.runtime.get_block(self.location.course_key.make_usage_key(block_type, block_id))
def student_view(self, context):
fragment = Fragment()