From 8386dd594efe88bbfff45bfdbd343b2339aec9a1 Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 18 Jul 2009 19:02:55 +0800 Subject: [PATCH] Add empty function prepInsert --- pyfpdb/Hand.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pyfpdb/Hand.py b/pyfpdb/Hand.py index 48d2c38f..d8995f8c 100644 --- a/pyfpdb/Hand.py +++ b/pyfpdb/Hand.py @@ -171,6 +171,9 @@ dealt whether they were seen in a 'dealt to' line self.holecards[street][player] = [open, closed] + def prepInsert(self, db): + pass + def insert(self, db): """ Function to insert Hand into database Should not commit, and do minimal selects. Callers may want to cache commits