From 70e965ce7f6a765847020327b0f63c0db6741e5a Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Mon, 5 Sep 2005 08:23:31 +0000 Subject: [PATCH] temporary fix --- src/common/xmpp/transports.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/common/xmpp/transports.py b/src/common/xmpp/transports.py index cafb10883..3cabc1a22 100644 --- a/src/common/xmpp/transports.py +++ b/src/common/xmpp/transports.py @@ -43,7 +43,8 @@ except ImportError : import DNS # http://pydns.sf.net/ HAVE_PYDNS = True except ImportError : - self.DEBUG("Couldn't load a supported DNS library. SRV records will not be queried and some servers may not be accessible.", 'warn') + #TODO: use self.DEBUG() + print "Couldn't load a supported DNS library. SRV records will not be queried and some servers may not be accessible." DATA_RECEIVED='DATA RECEIVED' DATA_SENT='DATA SENT' @@ -89,7 +90,8 @@ class TCPsocket(PlugIn): port = int(port) break except: - self.DEBUG('An error occurred looking up %s' % query, 'warn') + #TODO: use self.DEBUG() + print 'An error occurred looking up %s' % query server = (host, port) # end of SRV resolver