changeset 1458:832846fefe85

plugin text-syntaxes: minor variable renaming
author Goffi <goffi@goffi.org>
date Sun, 16 Aug 2015 00:06:59 +0200
parents 2e43eb9d8167
children 4c4f88d7b156
files src/plugins/plugin_misc_text_syntaxes.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/plugins/plugin_misc_text_syntaxes.py	Sun Aug 16 00:06:12 2015 +0200
+++ b/src/plugins/plugin_misc_text_syntaxes.py	Sun Aug 16 00:06:59 2015 +0200
@@ -166,7 +166,7 @@
                     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)