# Suppress the annoying warning we get with Twisted 1.3
import warnings, re
-warnings.filters.append(("ignore", None, UserWarning, re.compile("twisted.words.__init__"), 21))
+warnings.filters.append(("ignore", None, UserWarning, re.compile("twisted.words"), 21))
try:
log.msg("Trying to import XML DOM")