comparison sat/test/test_plugin_xep_0085.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
comparison
equal deleted inserted replaced
2764:92af49cde255 2765:378188abe941
96 96
97 post_treatments.addCallback(cb) 97 post_treatments.addCallback(cb)
98 post_treatments.callback(mess_data) 98 post_treatments.callback(mess_data)
99 d_list.append(post_treatments) 99 d_list.append(post_treatments)
100 100
101 def cb_list(dummy): # cancel the timer to not block the process 101 def cb_list(__): # cancel the timer to not block the process
102 self.plugin.map[Const.PROFILE[0]][Const.JID[0]].timer.cancel() 102 self.plugin.map[Const.PROFILE[0]][Const.JID[0]].timer.cancel()
103 103
104 return defer.DeferredList(d_list).addCallback(cb_list) 104 return defer.DeferredList(d_list).addCallback(cb_list)