diff src/plugins/plugin_xep_0047.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
line wrap: on
line diff
--- a/src/plugins/plugin_xep_0047.py	Wed Jan 09 22:59:55 2013 +0100
+++ b/src/plugins/plugin_xep_0047.py	Fri Jan 18 17:53:08 2013 +0100
@@ -76,7 +76,7 @@
     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 @@
             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