# HG changeset patch # User Goffi # Date 1345165988 -7200 # Node ID 1e4731f1e1d7a94311ae4ac9e3f6c7155467e799 # Parent b9925a2758c31a8210234b21162ac1c8c7eb7926 wix: renamed id variable to avoid reserved name diff -r b9925a2758c3 -r 1e4731f1e1d7 frontends/src/wix/main_window.py --- 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"""