Skip to content

Commit

Permalink
Remove dead code.
Browse files Browse the repository at this point in the history
  • Loading branch information
scoder committed Aug 3, 2020
1 parent c5a6118 commit 7240a79
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/lxml/html/clean.py
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,6 @@ def __call__(self, doc):
# We should get rid of any <param> tags not inside <applet>;
# These are not really valid anyway.
for el in list(doc.iter('param')):
found_parent = False
parent = el.getparent()
while parent is not None and parent.tag not in ('applet', 'object'):
parent = parent.getparent()
Expand Down

0 comments on commit 7240a79

Please sign in to comment.