comparison src/plugins/plugin_xep_0065.py @ 585:9902ec2d8d9b

Remove useless trailing semicolons.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Fri, 18 Jan 2013 17:53:08 +0100
parents ca13633d3b6b
children 952322b1d490
comparison
equal deleted inserted replaced
584:1524c2c07256 585:9902ec2d8d9b
505 pass 505 pass
506 506
507 def _timeOut(self, sid, profile): 507 def _timeOut(self, sid, profile):
508 """Delecte current_stream id, called after timeout 508 """Delecte current_stream id, called after timeout
509 @param id: id of client.xep_0065_current_stream""" 509 @param id: id of client.xep_0065_current_stream"""
510 info(_("Socks5 Bytestream: TimeOut reached for id %s [%s]") % (sid, profile)); 510 info(_("Socks5 Bytestream: TimeOut reached for id %s [%s]") % (sid, profile))
511 self._killId(sid, False, "TIMEOUT", profile) 511 self._killId(sid, False, "TIMEOUT", profile)
512 512
513 def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None): 513 def _killId(self, sid, success=False, failure_reason="UNKNOWN", profile=None):
514 """Delete an current_stream id, clean up associated observers 514 """Delete an current_stream id, clean up associated observers
515 @param sid: id of client.xep_0065_current_stream""" 515 @param sid: id of client.xep_0065_current_stream"""
559 error(_("Unknown profile, this should not happen")) 559 error(_("Unknown profile, this should not happen"))
560 raise ProfileNotInCacheError 560 raise ProfileNotInCacheError
561 561
562 if length != None: 562 if length != None:
563 error(_('stream length not managed yet')) 563 error(_('stream length not managed yet'))
564 return; 564 return
565 565
566 profile_jid = client.jid 566 profile_jid = client.jid
567 xmlstream = client.xmlstream 567 xmlstream = client.xmlstream
568 568
569 data = client.xep_0065_current_stream[sid] = {} 569 data = client.xep_0065_current_stream[sid] = {}