diff options
| author | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-03 13:04:09 +0200 |
|---|---|---|
| committer | Stefan Behnel <stefan_ml@behnel.de> | 2020-08-03 13:04:09 +0200 |
| commit | 7240a79e32638b760dfd1cfc9464726e6ead1688 (patch) | |
| tree | 0ac499e44329a7c562f29746459a441e1f82860c /src | |
| parent | c5a6118d795aa57a04bb328e42cfe7bff9d1d1e9 (diff) | |
| download | python-lxml-7240a79e32638b760dfd1cfc9464726e6ead1688.tar.gz | |
Remove dead code.
Diffstat (limited to 'src')
| -rw-r--r-- | src/lxml/html/clean.py | 1 |
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() |
