Remove useless trailing semicolons.
This commit is contained in:
parent
b8ea7b3ff6
commit
6216bf7642
4 changed files with 8 additions and 8 deletions
|
|
@ -63,7 +63,7 @@ class Exp_Pipe():
|
|||
def _kill_id(self, approval_id, profile):
|
||||
"""Delete a waiting_for_approval id, called after timeout
|
||||
@param approval_id: id of _pipe_waiting_for_approval"""
|
||||
info(_("SI Pipe Transfer: TimeOut reached for id %s") % approval_id);
|
||||
info(_("SI Pipe Transfer: TimeOut reached for id %s") % approval_id)
|
||||
try:
|
||||
client = self.host.getClient(profile)
|
||||
del client._pipe_waiting_for_approval[approval_id]
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ class XEP_0047():
|
|||
def _timeOut(self, sid, profile):
|
||||
"""Delecte current_stream id, called after timeout
|
||||
@param id: id of client.xep_0047_current_stream"""
|
||||
info(_("In-Band Bytestream: TimeOut reached for id %s [%s]") % (sid, profile));
|
||||
info(_("In-Band Bytestream: TimeOut reached for id %s [%s]") % (sid, profile))
|
||||
self._killId(sid, False, "TIMEOUT", profile)
|
||||
|
||||
def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None):
|
||||
|
|
@ -292,7 +292,7 @@ class XEP_0047():
|
|||
raise ProfileNotInCacheError
|
||||
if length != None:
|
||||
error(_('stream length not managed yet'))
|
||||
return;
|
||||
return
|
||||
data = client.xep_0047_current_stream[sid] = {}
|
||||
data["timer"] = reactor.callLater(TIMEOUT, self._timeOut, sid)
|
||||
data["file_obj"] = file_obj
|
||||
|
|
|
|||
|
|
@ -507,7 +507,7 @@ class XEP_0065():
|
|||
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 %s [%s]") % (sid, profile))
|
||||
self._killId(sid, False, "TIMEOUT", profile)
|
||||
|
||||
def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None):
|
||||
|
|
@ -561,7 +561,7 @@ class XEP_0065():
|
|||
|
||||
if length != None:
|
||||
error(_('stream length not managed yet'))
|
||||
return;
|
||||
return
|
||||
|
||||
profile_jid = client.jid
|
||||
xmlstream = client.xmlstream
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ class XEP_0096():
|
|||
def _kill_id(self, approval_id, profile):
|
||||
"""Delete a waiting_for_approval id, called after timeout
|
||||
@param approval_id: id of _xep_0096_waiting_for_approval"""
|
||||
info(_("SI File Transfer: TimeOut reached for id %s") % approval_id);
|
||||
info(_("SI File Transfer: TimeOut reached for id %s") % approval_id)
|
||||
try:
|
||||
client = self.host.getClient(profile)
|
||||
del client._xep_0096_waiting_for_approval[approval_id]
|
||||
|
|
|
|||
Loading…
Reference in a new issue