move method from TourneyFilters to Filters

This commit is contained in:
steffen123 2010-07-27 18:17:25 +02:00
parent 20ebd040c1
commit c996a11ed6
2 changed files with 4 additions and 4 deletions

View File

@ -229,6 +229,10 @@ class Filters(threading.Thread):
return self.numHands return self.numHands
#end def getNumHands #end def getNumHands
def getNumTourneys(self):
return self.numTourneys
#end def getNumTourneys
def getSites(self): def getSites(self):
return self.sites return self.sites
#end def getSites #end def getSites

View File

@ -280,10 +280,6 @@ class TourneyFilters(Filters.Filters):
log.info("No tourney types returned from database") log.info("No tourney types returned from database")
#end def fillTourneyTypesFrame #end def fillTourneyTypesFrame
def getNumTourneys(self):
return self.numTourneys
#end def getNumTourneys
def getSeats(self): def getSeats(self):
if 'from' in self.sbSeats: if 'from' in self.sbSeats:
self.seats['from'] = self.sbSeats['from'].get_value_as_int() self.seats['from'] = self.sbSeats['from'].get_value_as_int()