From: Raphael A. <rap...@gm...> - 2008-01-10 07:55:03
|
In the method below is active set to True or False. But active is a local variable in the scope of filter_toggle and not used for anything. There is also a self.active variable and a method set_inactive() in this module. Is this method still used but the assignments to active not, or should they be changed to self.active or something? >From class ListView: def filter_toggle(self, client, cnxn_id, entry, data): if Config.get(Config.FILTER): self.search_bar.hide() self.filter_pane.show() active = True else: self.search_bar.show() self.filter_pane.hide() active = False Raphael |