From e7cae866c3df78d9503cf3654313ca26b98bd238 Mon Sep 17 00:00:00 2001 From: asadazam93 Date: Mon, 13 May 2019 12:38:55 +0500 Subject: [PATCH] Reverted logs --- common/lib/xmodule/xmodule/library_content_module.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/common/lib/xmodule/xmodule/library_content_module.py b/common/lib/xmodule/xmodule/library_content_module.py index 09605ce45a..13e505dc8b 100644 --- a/common/lib/xmodule/xmodule/library_content_module.py +++ b/common/lib/xmodule/xmodule/library_content_module.py @@ -302,10 +302,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 {} {}".format(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()