split TourneyTypes.rebuyOrAddon to rebuy and addOn

This commit is contained in:
steffen123
2010-06-22 22:27:10 +02:00
parent e0a42bab8e
commit 8a2f881b61
4 changed files with 32 additions and 23 deletions
+3 -2
View File
@@ -152,7 +152,8 @@ class HandInternal(DerivedStats):
'speed': 'speed',
'maxSeats': 'maxseats',
'knockout': 'isKO',
'rebuyOrAddon': 'isRebuy',
'rebuy': 'isRebuy',
'addOn': 'isAddOn',
'headsUp': 'isHU',
'shootout': 'isShootout',
'matrix': 'isMatrix',
@@ -382,7 +383,7 @@ class TourneyType(MappedBase):
Required kwargs:
buyin fee speed maxSeats knockout
rebuyOrAddon headsUp shootout matrix sng currency
rebuy addOn headsUp shootout matrix sng currency
"""
return get_or_create(cls, session, **kwargs)[0]