Merge branch 'master' of git://git.assembla.com/fpt_fpdb

Conflicts:
	pyfpdb/Database.py
This commit is contained in:
Worros
2009-09-04 12:45:49 +08:00
8 changed files with 593 additions and 90 deletions
+2 -1
View File
@@ -139,7 +139,8 @@ Otherwise, finish at EOF.
handsList = self.allHandsAsList()
log.info("Parsing %d hands" % len(handsList))
# Determine if we're dealing with a HH file or a Summary file
if self.isSummary(handsList[0]) == False:
# quick fix : empty files make the handsList[0] fail ==> If empty file, go on with HH parsing
if len(handsList) == 0 or self.isSummary(handsList[0]) == False:
self.parsedObjectType = "HH"
for handText in handsList:
try: