From aa9351068aac8631bf47dd328eeae80ad61f08ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=B4mulo=20Penido?= Date: Thu, 15 Feb 2024 15:39:19 -0300 Subject: [PATCH] fix: rename variable to fix typing --- .../content_tagging/rest_api/v1/objecttag_export_helpers.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openedx/core/djangoapps/content_tagging/rest_api/v1/objecttag_export_helpers.py b/openedx/core/djangoapps/content_tagging/rest_api/v1/objecttag_export_helpers.py index c42cfaae7ab5..1d0b591596f5 100644 --- a/openedx/core/djangoapps/content_tagging/rest_api/v1/objecttag_export_helpers.py +++ b/openedx/core/djangoapps/content_tagging/rest_api/v1/objecttag_export_helpers.py @@ -141,13 +141,13 @@ def build_object_tree_with_objecttags( store = modulestore() while blocks: - tagged_block, children = blocks.pop() + tagged_block, block_children = blocks.pop() tagged_block.children = [] - if not children: + if not block_children: continue - for child in children: + for child in block_children: child_children: list | None if isinstance(child, UsageKey):