minor fixes for pivot dumping

This commit is contained in:
Miroslav Stampar 2011-06-15 19:03:37 +00:00
parent 4188df0501
commit afe0579487

View File

@ -1395,7 +1395,7 @@ class Enumeration:
value = inject.getValue(query, blind=False)
if column == colList[0]:
if isNoneValue(value):
if isNoneValue(value) or not value:
breakRetrieval = True
break
else:
@ -1411,6 +1411,8 @@ class Enumeration:
breakRetrieval = True
break
value = "" if isNoneValue(value) else value
lengths[column] = max(lengths[column], len(value) if value else 0)
entries[column].append(value)