Little cleanup

This commit is contained in:
Florent Le Coz 2011-11-07 19:55:40 +01:00
parent 689f17cfd7
commit 60b58301d3

View file

@ -251,7 +251,6 @@ def xhtml_to_poezio_colors(text):
key, value = rule.split(':', 1) key, value = rule.split(':', 1)
key = key.strip() key = key.strip()
value = value.strip() value = value.strip()
log.debug(value)
if key == 'background-color': if key == 'background-color':
pass#shell += '\x191' pass#shell += '\x191'
elif key == 'color': elif key == 'color':
@ -274,7 +273,6 @@ def xhtml_to_poezio_colors(text):
def trim(string): def trim(string):
return re.sub(whitespace_re, ' ', string) return re.sub(whitespace_re, ' ', string)
log.debug(text)
xml = ET.fromstring(text) xml = ET.fromstring(text)
message = '' message = ''
if version_info[1] == 2: if version_info[1] == 2: