plugin text-syntaxes: minor variable renaming

This commit is contained in:
Goffi 2015-08-16 00:06:59 +02:00
commit f32b006d54

View file

@ -166,7 +166,7 @@ class TextSyntaxes(object):
if value == "none":
continue
cleaned_styles.append((key, value))
return "; ".join(["%s: %s" % (key, value) for key, value in cleaned_styles])
return "; ".join(["%s: %s" % (key_, value_) for key_, value_ in cleaned_styles])
if isinstance(xhtml, basestring):
xhtml_elt = html.fromstring(xhtml)