Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/htmltextview.py')
-rw-r--r--src/htmltextview.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htmltextview.py b/src/htmltextview.py
index 2849461c5..773ebb8bc 100644
--- a/src/htmltextview.py
+++ b/src/htmltextview.py
@@ -528,10 +528,10 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
# build a dictionary mapping styles to methods, for greater speed
__style_methods = dict()
- for style in ['background-color', 'color', 'font-family', 'font-size',
+ for style in ('background-color', 'color', 'font-family', 'font-size',
'font-style', 'font-weight', 'margin-left', 'margin-right',
'text-align', 'text-decoration', 'white-space', 'display',
- 'width', 'height' ]:
+ 'width', 'height' ):
try:
method = locals()['_parse_style_%s' % style.replace('-', '_')]
except KeyError: