misc: a few "cosmetic" changes (PEP 8...)
This commit is contained in:
parent
41375e7bde
commit
f9bd9dd9b2
1 changed files with 15 additions and 11 deletions
|
|
@ -503,7 +503,8 @@ class XEP_0065(object):
|
|||
def _timeOut(self, sid, profile):
|
||||
"""Delecte current_stream id, called after timeout
|
||||
@param id: id of client.xep_0065_current_stream"""
|
||||
info(_("Socks5 Bytestream: TimeOut reached for id %s [%s]") % (sid, profile))
|
||||
info(_("Socks5 Bytestream: TimeOut reached for id %(sid)s [%(profile)s]")
|
||||
% {"sid": sid, "profile": profile})
|
||||
self._killId(sid, False, "TIMEOUT", profile)
|
||||
|
||||
def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None):
|
||||
|
|
|
|||
Loading…
Reference in a new issue