diff sat/plugins/plugin_xep_0096.py @ 2765:378188abe941

misc: replaced all "dummy" by the more conventional and readable "__" ("_" being used for gettext)
author Goffi <goffi@goffi.org>
date Fri, 11 Jan 2019 11:13:15 +0100
parents 56f94936df1e
children 003b8b4b56a7
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0096.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/plugins/plugin_xep_0096.py	Fri Jan 11 11:13:15 2019 +0100
@@ -257,7 +257,7 @@
         #     misc_elts.append(range_elt)
         self._si.acceptStream(client, iq_elt, feature_elt, misc_elts)
 
-    def _transferCb(self, dummy, client, data):
+    def _transferCb(self, __, client, data):
         """Called by the stream method when transfer successfuly finished
 
         @param data: session data
@@ -382,7 +382,7 @@
         else:
             log.error(u"Error while proposing stream: {}".format(failure))
 
-    def _sendCb(self, dummy, client, sid, stream_object):
+    def _sendCb(self, __, client, sid, stream_object):
         log.info(
             _(u"transfer {sid} successfuly finished [{profile}]").format(
                 sid=sid, profile=client.profile