comparison sat/plugins/plugin_xep_0092.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
78 - version: specific version of the software 78 - version: specific version of the software
79 - os: operating system of the queried entity 79 - os: operating system of the queried entity
80 """ 80 """
81 client = self.host.getClient(profile_key) 81 client = self.host.getClient(profile_key)
82 82
83 def getVersion(dummy): 83 def getVersion(__):
84 iq_elt = compat.IQ(client.xmlstream, "get") 84 iq_elt = compat.IQ(client.xmlstream, "get")
85 iq_elt["to"] = jid_.full() 85 iq_elt["to"] = jid_.full()
86 iq_elt.addElement("query", NS_VERSION) 86 iq_elt.addElement("query", NS_VERSION)
87 d = iq_elt.send() 87 d = iq_elt.send()
88 d.addCallback(self._gotVersion) 88 d.addCallback(self._gotVersion)