From 488eb8433c59eb2ba0e5e086721c97124550fe43 Mon Sep 17 00:00:00 2001 From: Worros Date: Sat, 21 Aug 2010 22:19:08 +0800 Subject: [PATCH] HHC: Cleanup unused function --- pyfpdb/HandHistoryConverter.py | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/pyfpdb/HandHistoryConverter.py b/pyfpdb/HandHistoryConverter.py index bf497b32..64831d61 100644 --- a/pyfpdb/HandHistoryConverter.py +++ b/pyfpdb/HandHistoryConverter.py @@ -480,18 +480,6 @@ or None if we fail to get the info """ self.filetype = filetype self.codepage = codepage - #This function doesn't appear to be used - def splitFileIntoHands(self): - hands = [] - self.obs = self.obs.strip() - list = self.re_SplitHands.split(self.obs) - list.pop() #Last entry is empty - for l in list: -# print "'" + l + "'" - hands = hands + [Hand.Hand(self.config, self.sitename, self.gametype, l)] - # TODO: This looks like it could be replaced with a list comp.. ? - return hands - def __listof(self, x): if isinstance(x, list) or isinstance(x, tuple): return x