From f7f98e23d59263814ac7571efe8a0e27497295e1 Mon Sep 17 00:00:00 2001 From: Goffi Date: Fri, 17 Aug 2012 03:13:08 +0200 Subject: [PATCH] wix: renamed id variable to avoid reserved name --- frontends/src/wix/main_window.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontends/src/wix/main_window.py b/frontends/src/wix/main_window.py index 5d5150ae..8dcb98b1 100644 --- a/frontends/src/wix/main_window.py +++ b/frontends/src/wix/main_window.py @@ -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"""