From 1e188727409fa5a9afd38ca78e373a59f86a49ae Mon Sep 17 00:00:00 2001 From: rayzhou-bit Date: Wed, 3 Jan 2024 17:07:12 +0000 Subject: [PATCH] feat: remove unused lines --- .../contentstore/xblock_storage_handlers/view_handlers.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py index 7add10b44d37..e5dd276b5790 100644 --- a/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py +++ b/cms/djangoapps/contentstore/xblock_storage_handlers/view_handlers.py @@ -834,7 +834,6 @@ def get_block_info( xblock, rewrite_static_links=True, include_ancestor_info=False, - include_child_info=False, include_publishing_info=False, include_children_predicate=NEVER, ): @@ -843,7 +842,6 @@ def get_block_info( :param usage_key: A UsageKey """ with modulestore().bulk_operations(xblock.location.course_key): - category = getattr(xblock, "category", "") data = getattr(xblock, "data", "") if rewrite_static_links: data = replace_static_urls(data, None, course_id=xblock.location.course_key)