From 3f4c5d45e8e1b2691ee72600f37488fe5c520621 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 27 Jul 2010 18:54:40 +0200 Subject: [PATCH] for fear of repeating myself, removed another dupe from TourneyFilters --- pyfpdb/Filters.py | 1 + pyfpdb/TourneyFilters.py | 8 +------- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index f743625e..045d8f42 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -381,6 +381,7 @@ class Filters(threading.Thread): #print w.get_active() self.sites[site] = w.get_active() log.debug("self.sites[%s] set to %s" %(site, self.sites[site])) + #end def __set_site_select def __set_game_select(self, w, game): #print w.get_active() diff --git a/pyfpdb/TourneyFilters.py b/pyfpdb/TourneyFilters.py index 39db47ad..dd639150 100644 --- a/pyfpdb/TourneyFilters.py +++ b/pyfpdb/TourneyFilters.py @@ -77,13 +77,7 @@ class TourneyFilters(Filters.Filters): print "setting numTourneys:", self.numTourneys #end def __set_num_tourneys - def __set_site_select(self, w, site): - #print w.get_active() - self.sites[site] = w.get_active() - log.debug("self.sites[%s] set to %s" %(site, self.sites[site])) - #end def __set_site_select - - def __toggle_box(self, widget, entry): + def __toggle_box(self, widget, entry): #identical with Filters if self.boxes[entry].props.visible: self.boxes[entry].hide() widget.set_label("show")