summaryrefslogtreecommitdiff
path: root/src/xhtml.py
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-05-21 02:14:25 +0200
committermathieui <mathieui@mathieui.net>2012-05-21 02:14:25 +0200
commit0af1c7fe9a03be34e14ae8ecc332f6d1fa168511 (patch)
tree845d50087b964486c1274cbecf3ebda30a21de0f /src/xhtml.py
parent837b46d68b10f5c6e9cc80e07e33fd025b51634b (diff)
downloadpoezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.gz
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.bz2
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.tar.xz
poezio-0af1c7fe9a03be34e14ae8ecc332f6d1fa168511.zip
Docstrings, and small cleanup
Diffstat (limited to 'src/xhtml.py')
-rw-r--r--src/xhtml.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xhtml.py b/src/xhtml.py
index 38ec690c..4d93a855 100644
--- a/src/xhtml.py
+++ b/src/xhtml.py
@@ -13,20 +13,19 @@ poezio colors to xhtml code
"""
import re
-import subprocess
import curses
from sleekxmpp.xmlstream import ET
import xml.sax.saxutils
-from xml.etree.ElementTree import ElementTree
-
from sys import version_info
from config import config
import logging
digits = '0123456789' # never trust the modules
+
+# HTML named colors
colors = {
'aliceblue': 231,
'antiquewhite': 231,