From e1ad5b15d02405df4307c828f21f067bc6de2277 Mon Sep 17 00:00:00 2001 From: junglecow Date: Thu, 28 Dec 2006 11:15:44 +0000 Subject: [PATCH] - Removed unnecessary import - Fixed name of transport_nb's logger --- src/common/connection.py | 1 - src/common/xmpp/transports_nb.py | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/connection.py b/src/common/connection.py index 7cb6b6b64..d70dd43ff 100644 --- a/src/common/connection.py +++ b/src/common/connection.py @@ -461,7 +461,6 @@ class Connection(ConnectionHandlers): fpr_good = None # None: Unable to check fpr, False: mismatch, True: match # FIXME: not tidy - import common.xmpp.transports_nb if not common.xmpp.transports_nb.USE_PYOPENSSL: return None # FIXME: find a more permanent place for loading servers.xml diff --git a/src/common/xmpp/transports_nb.py b/src/common/xmpp/transports_nb.py index 143a8b3bc..77d4ad200 100644 --- a/src/common/xmpp/transports_nb.py +++ b/src/common/xmpp/transports_nb.py @@ -30,7 +30,7 @@ import traceback import thread import logging -log = logging.getLogger('gajim.c.x.transports') +log = logging.getLogger('gajim.c.x.transports_nb') USE_PYOPENSSL = False