Clean up guessMaxSeats.

This commit is contained in:
Eratosthenes 2010-03-03 15:08:00 -05:00
parent 2452293c1e
commit a3cab472b1

View File

@ -106,12 +106,6 @@ class PartyPoker(HandHistoryConverter):
def guessMaxSeats(self, hand):
"""Return a guess at max_seats when not specified in HH."""
try:
m = re_seats.search(hand.handText)
mo = m.groupdict()
mo = _mo['SEATS']
return mo
except:
mo = self.maxOccSeat(hand)
if mo == 10: return mo
if mo == 2: return 2