diff sat/plugins/plugin_xep_0363.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_0363.py	Fri Jan 11 10:18:02 2019 +0100
+++ b/sat/plugins/plugin_xep_0363.py	Fri Jan 11 11:13:15 2019 +0100
@@ -148,7 +148,7 @@
         profile=C.PROF_KEY_NONE,
     ):
         assert os.path.isabs(filepath) and os.path.isfile(filepath)
-        progress_id_d, dummy = self.fileHTTPUpload(
+        progress_id_d, __ = self.fileHTTPUpload(
             filepath,
             filename or None,
             jid.JID(upload_jid) if upload_jid else None,
@@ -239,7 +239,7 @@
         )
         return d
 
-    def _uploadCb(self, dummy, sat_file, slot, download_d):
+    def _uploadCb(self, __, sat_file, slot, download_d):
         """Called once file is successfully uploaded
 
         @param sat_file(SatFile): file used for the upload