When the .total is a
positive number, return the total number with the
characteristic suffix attached.
When the total is unknown, we display just the suffix, except it one case: when the suffix is empty, we display “(unk)” so that the cell is not empty.
# - - - C e n s u s T o t a l . h t m l
def html(self):
'''Render self.total with the characteristic suffix.
'''
#-- 1
if self.total > 0:
text = str(self.total)
elif len(self.suffix) == 0:
text='(unk)'
else:
text = ''
#-- 2
return text+self.suffix