From c996a11ed6dbf129e1999f0d1602e8b193aaf746 Mon Sep 17 00:00:00 2001 From: steffen123 Date: Tue, 27 Jul 2010 18:17:25 +0200 Subject: [PATCH] move method from TourneyFilters to Filters --- pyfpdb/Filters.py | 4 ++++ pyfpdb/TourneyFilters.py | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pyfpdb/Filters.py b/pyfpdb/Filters.py index 06f43610..d6a78949 100644 --- a/pyfpdb/Filters.py +++ b/pyfpdb/Filters.py @@ -229,6 +229,10 @@ class Filters(threading.Thread): return self.numHands #end def getNumHands + def getNumTourneys(self): + return self.numTourneys + #end def getNumTourneys + def getSites(self): return self.sites #end def getSites diff --git a/pyfpdb/TourneyFilters.py b/pyfpdb/TourneyFilters.py index 84f23e64..7415a9d3 100644 --- a/pyfpdb/TourneyFilters.py +++ b/pyfpdb/TourneyFilters.py @@ -280,10 +280,6 @@ class TourneyFilters(Filters.Filters): log.info("No tourney types returned from database") #end def fillTourneyTypesFrame - def getNumTourneys(self): - return self.numTourneys - #end def getNumTourneys - def getSeats(self): if 'from' in self.sbSeats: self.seats['from'] = self.sbSeats['from'].get_value_as_int()