Merge branch 'carl'

This commit is contained in:
Steffen Schaumburg 2010-12-27 20:08:06 +01:00
commit eb55e261ef
2 changed files with 13 additions and 4 deletions

View File

@ -46,7 +46,9 @@ class FullTiltPokerSummary(TourneySummary):
substitutions = {
'LEGAL_ISO' : "USD|EUR|GBP|CAD|FPP", # legal ISO currency codes
'LS' : "\$|\xe2\x82\xac|" # legal currency symbols - Euro(cp1252, utf-8)
'LS' : "\$|\xe2\x82\xac|", # legal currency symbols - Euro(cp1252, utf-8)
'TAB' : u"-\u2013'\s\da-zA-Z", # legal characters for tablename
'NUM' : u".,\d", # legal characters in number format
}
re_SplitTourneys = re.compile("^Full Tilt Poker Tournament Summary")
@ -55,14 +57,21 @@ class FullTiltPokerSummary(TourneySummary):
re_TourneyInfo = re.compile(u"""
\s.*
(?P<TYPE>Tournament|Sit\s\&\sGo)\s\((?P<TOURNO>[0-9]+)\)(\s+)?
(?P<TYPE>Tournament|Sit\s\&\sGo|\(Rebuy\))\s\((?P<TOURNO>[0-9]+)\)(\s+)?
(?P<GAME>Hold\'em|Razz|RAZZ|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball|5\sCard\sDraw)\s+
(?P<LIMIT>No\sLimit|Limit|LIMIT|Pot\sLimit)\s+
(Buy-In:\s\$(?P<BUYIN>[.\d]+)(\s\+\s\$(?P<FEE>[.\d]+))?\s+)?
(Add-On:\s\$(?P<ADDON>[.\d]+)\s+)?
(Rebuy:\s\$(?P<REBUYAMT>[.\d]+)\s+)?
((?P<PNAME>.{2,15})\sperformed\s(?P<PREBUYS>\d+)\sRebuys\s+)?
(Buy-In\sChips:\s(?P<CHIPS>\d+)\s+)?
(Add-On\sChips:\s(?P<ADDONCHIPS>\d+)\s+)?
(Rebuy\sChips:\s(?P<REBUYCHIPS>\d+)\s+)?
(?P<ENTRIES>[0-9]+)\sEntries\s+
(Total\sAdd-Ons:\s(?P<ADDONS>\d+)\s+)?
(Total\sRebuys:\s(?P<REBUYS>\d+)\s+)?
(\$?(?P<ADDED>[.\d]+)\sadded\sto\sthe\sprize\spool\sby\sPokerStars\.com\s+)?
(Total\sPrize\sPool:\s\$?(?P<PRIZEPOOL>[.0-9]+)\s+)?
(Total\sPrize\sPool:\s\$?(?P<PRIZEPOOL>[%(NUM)s]+)\s+)?
(Target\sTournament\s.*)?
Tournament\sstarted:\s
(?P<Y>[\d]{4})\/(?P<M>[\d]{2})\/(?P<D>[\d]+)\s+(?P<H>[\d]+):(?P<MIN>[\d]+):(?P<S>[\d]+)\s??(?P<TZ>[A-Z]+)\s

View File

@ -632,7 +632,7 @@ or None if we fail to get the info """
elif givenTimezone == 'IST': # India Standard Time
pass
elif givenTimezone == 'CCT': # China Coast Time
pass
givenTZ = timezone('Australia/West')
elif givenTimezone == 'JST': # Japan Standard Time
pass
elif givenTimezone == 'AWST': # Australian Western Standard Time