SimpleTable: allow bools

svn: r23338
This commit is contained in:
Doug Blank 2013-10-19 13:07:49 +00:00
parent 1018b9edb2
commit 5c50673f15

View File

@ -111,6 +111,9 @@ class SimpleTable(object):
elif isinstance(item, (int, float)):
retval.append(conv_to_unicode_direct(item))
self.row_sort_val(col, item)
elif isinstance(item, bool):
retval.append(repr(item))
self.row_sort_val(col, int(item))
elif isinstance(item, Person):
retval.append(self.access.describe(item))
if (self._link_col == col or link is None):