1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-04 07:57:52 +03:00

Clean comment

This commit is contained in:
Guillaume Ayoub 2022-08-15 11:26:00 +02:00
parent f6a13ed636
commit e1093d36ea

View File

@ -331,9 +331,8 @@ class LayoutContext:
def unlayout_footnote(self, footnote):
"""Remove a footnote from the layout and return it to the waitlist."""
# Handle unlayouting a footnote that hasn't been laid out yet (or has
# already been unlayout'd):
# TODO: Handle unlayouting a footnote that hasn't been laid out yet or
# has already been unlayouted
if footnote not in self.footnotes:
self.footnotes.append(footnote)
if footnote in self.current_page_footnotes: