Skip to content

Commit

Permalink
Clean up unused local variable
Browse files Browse the repository at this point in the history
  • Loading branch information
kygoh committed Feb 13, 2024
1 parent e19bd0c commit f332f4d
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion weasyprint/layout/table.py
Original file line number Diff line number Diff line change
Expand Up @@ -1049,7 +1049,6 @@ def set_borders(box, x, y, w, h, ltr=True):
grid_y = 0
for row_group in table.children:
for row in row_group.children:
cells = row.children if ltr else reversed(row.children)
for cell in row.children:
# No border inside of a cell with rowspan or colspan
for xx in range(cell.grid_x + 1, cell.grid_x + cell.colspan):
Expand Down

0 comments on commit f332f4d

Please sign in to comment.