From 0c254bc91520c8c18a15b67cce2bfb5d635d3d61 Mon Sep 17 00:00:00 2001 From: "louiz@4325f9fc-e183-4c21-96ce-0ab188b42d13" Date: Mon, 4 Oct 2010 19:50:15 +0000 Subject: use 'with' context manager for the locks --- src/connection.py | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/connection.py') diff --git a/src/connection.py b/src/connection.py index 7390e1e4..e284d82b 100644 --- a/src/connection.py +++ b/src/connection.py @@ -29,8 +29,6 @@ from logger import logger from handler import Handler from common import jid_get_node, jid_get_domain, is_jid_the_same -import logging - class Connection(sleekxmpp.ClientXMPP): """ Receives everything from Jabber and emits the -- cgit v1.2.3