From 8aecf117bb8f33014c72e4277a45606be479a0ae Mon Sep 17 00:00:00 2001 From: steffen123 Date: Thu, 19 Aug 2010 04:01:44 +0200 Subject: [PATCH] add otherRaisedStreet0 and foldToOtherRaisedStreet0 with defualt false --- pyfpdb/Database.py | 2 ++ pyfpdb/DerivedStats.py | 2 ++ pyfpdb/SQL.py | 5 ++++- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index cfcf856c..ec139c52 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1691,10 +1691,12 @@ class Database: pdata[p]['startCards'], pdata[p]['street0_3BChance'], pdata[p]['street0_3BDone'], + pdata[p]['otherRaisedStreet0'], pdata[p]['otherRaisedStreet1'], pdata[p]['otherRaisedStreet2'], pdata[p]['otherRaisedStreet3'], pdata[p]['otherRaisedStreet4'], + pdata[p]['foldToOtherRaisedStreet0'], pdata[p]['foldToOtherRaisedStreet1'], pdata[p]['foldToOtherRaisedStreet2'], pdata[p]['foldToOtherRaisedStreet3'], diff --git a/pyfpdb/DerivedStats.py b/pyfpdb/DerivedStats.py index eb6b6eda..4c896114 100644 --- a/pyfpdb/DerivedStats.py +++ b/pyfpdb/DerivedStats.py @@ -74,6 +74,8 @@ class DerivedStats(): self.handsplayers[player[1]]['foldToOtherRaisedStreet%d' %i] = False #FIXME - Everything below this point is incomplete. + self.handsplayers[player[1]]['otherRaisedStreet0'] = False + self.handsplayers[player[1]]['foldToOtherRaisedStreet0'] = False for i in range(1,5): self.handsplayers[player[1]]['foldToStreet%dCBChance' %i] = False self.handsplayers[player[1]]['foldToStreet%dCBDone' %i] = False diff --git a/pyfpdb/SQL.py b/pyfpdb/SQL.py index 2d42587f..be5f6e99 100644 --- a/pyfpdb/SQL.py +++ b/pyfpdb/SQL.py @@ -4039,10 +4039,12 @@ class Sql: startCards, street0_3BChance, street0_3BDone, + otherRaisedStreet0, otherRaisedStreet1, otherRaisedStreet2, otherRaisedStreet3, otherRaisedStreet4, + foldToOtherRaisedStreet0, foldToOtherRaisedStreet1, foldToOtherRaisedStreet2, foldToOtherRaisedStreet3, @@ -4093,7 +4095,8 @@ class Sql: %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, %s, - %s, %s, %s, %s + %s, %s, %s, %s, %s, + %s )""" ################################