return t.root
-# Suppress the annoying warning we get with Twisted 1.3
import warnings, re
+# Suppress the annoying warning we get with Twisted 1.3 words being deprecated
warnings.filters.append(("ignore", None, UserWarning, re.compile("twisted.words"), 21))
+# Suppress the OpenSSL UserWarning
+warnings.filters.append(("ignore", re.compile("SSL connection shutdown possibly unreliable, please upgrade to ver 0.XX"), UserWarning, re.compile("twisted.internet.tcp"), 216))
+
try:
log.msg("Trying to import XML DOM")