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.
This commit is contained in:
Worros
2010-12-10 18:59:52 +08:00
parent 9a956e41b6
commit 267bf93fa5
+6 -4
View File
@@ -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: