From 267bf93fa5e51a44aa10f0e5be468831fd905c50 Mon Sep 17 00:00:00 2001 From: Worros Date: Fri, 10 Dec 2010 18:59:52 +0800 Subject: [PATCH] Database: Comment out unused 'printdata' Writing documentation for THP at the moment, and HandsActions data doesn't curently having any tests. Comment out to simplify documentation for the moment. --- pyfpdb/Database.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pyfpdb/Database.py b/pyfpdb/Database.py index cf69ddb0..952f2727 100644 --- a/pyfpdb/Database.py +++ b/pyfpdb/Database.py @@ -1860,10 +1860,12 @@ class Database: def storeHandsActions(self, hid, pids, hpid, adata, printdata = False): #print "DEBUG: %s %s %s" %(hid, pids, adata) - if printdata: - import pprint - pp = pprint.PrettyPrinter(indent=4) - pp.pprint(adata) + + # This can be used to generate test data. Currently unused + #if printdata: + # import pprint + # pp = pprint.PrettyPrinter(indent=4) + # pp.pprint(adata) inserts = [] for a in adata: