From a979874fa1fa3a2c0ef608bb81d1c04b618075e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Wed, 5 Dec 2018 11:35:35 +0100 Subject: [PATCH] Sort imports --- gajim/common/connection_handlers.py | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/gajim/common/connection_handlers.py b/gajim/common/connection_handlers.py index 30a36b6b8..63b134fdb 100644 --- a/gajim/common/connection_handlers.py +++ b/gajim/common/connection_handlers.py @@ -24,27 +24,26 @@ # You should have received a copy of the GNU General Public License # along with Gajim. If not, see . +import logging import operator -from time import time as time_time +import time import nbxmpp -from gajim.common import modules -from gajim.common import helpers from gajim.common import app +from gajim.common import ged +from gajim.common import helpers from gajim.common import jingle_xtls +from gajim.common import modules from gajim.common.caps_cache import muc_caps_cache +from gajim.common.connection_handlers_events import * +from gajim.common.const import KindConstant +from gajim.common.jingle import ConnectionJingle +from gajim.common.nec import NetworkEvent from gajim.common.protocol.bytestream import ConnectionSocks5Bytestream from gajim.common.protocol.bytestream import ConnectionIBBytestream -from gajim.common.connection_handlers_events import * -from gajim.common import ged -from gajim.common.nec import NetworkEvent -from gajim.common.const import KindConstant -from gajim.common.jingle import ConnectionJingle - -import logging log = logging.getLogger('gajim.c.connection_handlers') # kind of events we can wait for an answer @@ -193,7 +192,7 @@ class ConnectionHandlersBase: if show is not None: app.logger.insert_into_logs(self.name, nbxmpp.JID(obj.jid).getStripped(), - time_time(), + time.time(), KindConstant.STATUS, message=obj.status, show=show)