From 21d10673d5f295a49d45f6a76c263799dfa1a518 Mon Sep 17 00:00:00 2001 From: grindi Date: Thu, 6 Aug 2009 17:55:53 +0400 Subject: [PATCH] Party hhc: cleaned --- pyfpdb/PartyPokerToFpdb.py | 84 +++++--------------------------------- 1 file changed, 11 insertions(+), 73 deletions(-) diff --git a/pyfpdb/PartyPokerToFpdb.py b/pyfpdb/PartyPokerToFpdb.py index 78e8c351..6add3371 100755 --- a/pyfpdb/PartyPokerToFpdb.py +++ b/pyfpdb/PartyPokerToFpdb.py @@ -70,25 +70,6 @@ class PartyPoker(HandHistoryConverter): (?P.+) """, re.VERBOSE) re_Hid = re.compile("^Game \#(?P\d+) starts.") - #re_GameInfo = re.compile(""" - #PartyPoker\sGame\s\#(?P[0-9]+):\s+ - #(Tournament\s\# # open paren of tournament info - #(?P\d+),\s - #(?P[%(LS)s\+\d\.]+ # here's how I plan to use LS - #\s?(?P%(LEGAL_ISO)s)? - #)\s)? # close paren of tournament info - #(?PHORSE|8\-Game|HOSE)?\s?\(? - #(?PHold\'em|Razz|7\sCard\sStud|7\sCard\sStud\sHi/Lo|Omaha|Omaha\sHi/Lo|Badugi|Triple\sDraw\s2\-7\sLowball)\s - #(?PNo\sLimit|Limit|Pot\sLimit)\)?,?\s - #(-\sLevel\s(?P[IVXLC]+)\s)? - #\(? # open paren of the stakes - #(?P%(LS)s|)? - #(?P[.0-9]+)/(%(LS)s)? - #(?P[.0-9]+) - #\s?(?P%(LEGAL_ISO)s)? - #\)\s-\s # close paren of the stakes - #(?P.*$)""" % substitutions, - #re.MULTILINE|re.VERBOSE) re_PlayerInfo = re.compile(""" Seat\s(?P\d+):\s @@ -96,11 +77,6 @@ class PartyPoker(HandHistoryConverter): \(\s*\$?(?P[0-9,.]+)\s*(?:USD|)\s*\) """ , re.VERBOSE) - #re_PlayerInfo = re.compile(""" - #^Seat\s(?P[0-9]+):\s - #(?P.*)\s - #\((%(LS)s)?(?P[.0-9]+)\sin\schips\)""" % substitutions, - #re.MULTILINE|re.VERBOSE) re_HandInfo = re.compile(""" ^Table\s+ @@ -111,12 +87,6 @@ class PartyPoker(HandHistoryConverter): Seat\s+(?P