Fix undefined-loop-variable pylint error

This commit is contained in:
Philipp Hörist 2018-09-18 19:02:48 +02:00
parent 7fcd85f026
commit 5b23d4879a
1 changed files with 1 additions and 1 deletions

View File

@ -498,7 +498,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
log.warning('Style attribute "%s" not yet implemented', style) log.warning('Style attribute "%s" not yet implemented', style)
else: else:
__style_methods[style] = method __style_methods[style] = method
del style del style # pylint: disable=undefined-loop-variable
# -- # --
def _get_style_tags(self): def _get_style_tags(self):