wix: renamed id variable to avoid reserved name

This commit is contained in:
Goffi 2012-08-17 03:13:08 +02:00
commit f7f98e23d5

View file

@ -442,9 +442,9 @@ class MainWindow(wx.Frame, QuickApp):
dlg.ShowModal()
dlg.Destroy()
return
id = self.bridge.getCard(target.short, profile_key=self.profile)
self.current_action_ids.add(id)
self.current_action_ids_cb[id] = self.onProfileReceived
_id = self.bridge.getCard(target.short, profile_key=self.profile)
self.current_action_ids.add(_id)
self.current_action_ids_cb[_id] = self.onProfileReceived
def onProfileReceived(self, data):
"""Called when a profile is received"""
@ -467,9 +467,9 @@ class MainWindow(wx.Frame, QuickApp):
def onFindGateways(self, e):
debug(_("Find Gateways request"))
id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain, self.profile)
self.current_action_ids.add(id)
self.current_action_ids_cb[id] = self.onGatewaysFound
_id = self.bridge.findGateways(self.profiles[self.profile]['whoami'].domain, self.profile)
self.current_action_ids.add(_id)
self.current_action_ids_cb[_id] = self.onGatewaysFound
def onGatewaysFound(self, data):
"""Called when SàT has found the server gateways"""