Mercurial > libervia-backend
changeset 491:1e4731f1e1d7
wix: renamed id variable to avoid reserved name
author | Goffi <goffi@goffi.org> |
---|---|
date | Fri, 17 Aug 2012 03:13:08 +0200 |
parents | b9925a2758c3 |
children | 9248f2c5e03e |
files | frontends/src/wix/main_window.py |
diffstat | 1 files changed, 6 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/frontends/src/wix/main_window.py Fri Aug 17 03:11:39 2012 +0200 +++ b/frontends/src/wix/main_window.py Fri Aug 17 03:13:08 2012 +0200 @@ -442,9 +442,9 @@ 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 @@ 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"""