use 'with' context manager for the locks

parent d4e3e51c
......@@ -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
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment