summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStefan Behnel <stefan_ml@behnel.de>2020-08-03 13:04:09 +0200
committerStefan Behnel <stefan_ml@behnel.de>2020-08-03 13:04:09 +0200
commit7240a79e32638b760dfd1cfc9464726e6ead1688 (patch)
tree0ac499e44329a7c562f29746459a441e1f82860c /src
parentc5a6118d795aa57a04bb328e42cfe7bff9d1d1e9 (diff)
downloadpython-lxml-7240a79e32638b760dfd1cfc9464726e6ead1688.tar.gz
Remove dead code.
Diffstat (limited to 'src')
-rw-r--r--src/lxml/html/clean.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/lxml/html/clean.py b/src/lxml/html/clean.py
index 6b192138..d43b9baf 100644
--- a/src/lxml/html/clean.py
+++ b/src/lxml/html/clean.py
@@ -352,7 +352,6 @@ class Cleaner(object):
# 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()