Mercurial > libervia-backend
comparison src/plugins/plugin_xep_0096.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 |
---|---|
61 # current stream method, [failed stream methods], profile] | 61 # current stream method, [failed stream methods], profile] |
62 | 62 |
63 def _kill_id(self, approval_id, profile): | 63 def _kill_id(self, approval_id, profile): |
64 """Delete a waiting_for_approval id, called after timeout | 64 """Delete a waiting_for_approval id, called after timeout |
65 @param approval_id: id of _xep_0096_waiting_for_approval""" | 65 @param approval_id: id of _xep_0096_waiting_for_approval""" |
66 info(_("SI File Transfer: TimeOut reached for id %s") % approval_id); | 66 info(_("SI File Transfer: TimeOut reached for id %s") % approval_id) |
67 try: | 67 try: |
68 client = self.host.getClient(profile) | 68 client = self.host.getClient(profile) |
69 del client._xep_0096_waiting_for_approval[approval_id] | 69 del client._xep_0096_waiting_for_approval[approval_id] |
70 except KeyError: | 70 except KeyError: |
71 warning(_("kill id called on a non existant approval id")) | 71 warning(_("kill id called on a non existant approval id")) |