[NEWIMPORT] Don't actually writeHand on NEWIMPORT

This commit is contained in:
Worros 2009-11-30 15:11:00 +08:00
parent f30b3a6117
commit fc20330f2b

View File

@ -284,10 +284,8 @@ which it expects to find at self.re_TailSplitHands -- see for e.g. Everleaf.py.
log.info("Unsupported game type: %s" % gametype) log.info("Unsupported game type: %s" % gametype)
if hand: if hand:
# uncomment these to calculate some stats if Configuration.NEWIMPORT == False:
# print hand hand.writeHand(self.out_fh)
# hand.stats.getStats(hand)
hand.writeHand(self.out_fh)
return hand return hand
else: else:
log.info("Unsupported game type: %s" % gametype) log.info("Unsupported game type: %s" % gametype)