Skip to content

Commit

Permalink
fix: rename variable to fix typing
Browse files Browse the repository at this point in the history
  • Loading branch information
rpenido committed Feb 15, 2024
1 parent 3cf462f commit aa93510
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit aa93510

Please sign in to comment.