SimpleTable: allow bools
svn: r23338
This commit is contained in:
parent
1018b9edb2
commit
5c50673f15
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user