diff -r 36cc4c87cdaa -r 8678a3cf7fe7 objdictgen/subindextable.py --- a/objdictgen/subindextable.py Tue Sep 04 17:47:04 2007 +0200 +++ b/objdictgen/subindextable.py Tue Sep 04 17:47:46 2007 +0200 @@ -91,12 +91,8 @@ def GetValue(self, row, col): if row < self.GetNumberRows(): - value = self.data[row].get(self.GetColLabelValue(col), "") - if (type(value) == UnicodeType): - return value - else: - return str(value) - + return str(self.data[row].get(self.GetColLabelValue(col), "")) + def GetEditor(self, row, col): if row < self.GetNumberRows(): return self.editors[row].get(self.GetColLabelValue(col), "")