Skip to content

Commit c77f7da

Browse files
committed
Remove useless variable
1 parent dfb0b51 commit c77f7da

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

weasyprint/layout/block.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -703,7 +703,6 @@ def block_container_layout(context, box, bottom_space, skip_stack,
703703

704704
new_children = []
705705
next_page = {'break': 'any', 'page': None}
706-
broken_out_of_flow = []
707706

708707
last_in_flow_child = None
709708

@@ -731,7 +730,6 @@ def block_container_layout(context, box, bottom_space, skip_stack,
731730
if out_of_flow_resume_at:
732731
context.broken_out_of_flow[new_child] = (
733732
child, box, out_of_flow_resume_at)
734-
broken_out_of_flow.append(new_child)
735733
if child.is_outside_marker:
736734
new_child.position_x = box.border_box_x()
737735
if child.style['direction'] == 'rtl':
@@ -804,8 +802,6 @@ def block_container_layout(context, box, bottom_space, skip_stack,
804802
not page_is_empty):
805803
remove_placeholders(
806804
context, [*new_children, *box.children[skip:]], absolute_boxes, fixed_boxes)
807-
for child in broken_out_of_flow:
808-
del context.broken_out_of_flow[child]
809805
return None, None, {'break': 'any', 'page': None}, [], False, max_lines
810806

811807
if collapsing_with_children:

0 commit comments

Comments
 (0)