changing repr
This commit is contained in:
parent
e6e087ef38
commit
47f5021a84
1 changed files with 4 additions and 1 deletions
|
@ -201,7 +201,10 @@ class ColumnCollector(object):
|
|||
pass
|
||||
|
||||
def __repr__(self):
|
||||
return "<%s: %s>" % (self.__class__.__name__, map(lambda x:x if len(x) < 25 else x[:25] + '..', self.data.values()))
|
||||
return "<%s: %s>" % (
|
||||
self.__class__.__name__,
|
||||
map(lambda x:x if len(x) < 25 else x[:25] + '..',
|
||||
self.data.values() if self.data else '' ))
|
||||
|
||||
def add(self, data):
|
||||
#if self.empty_rows > 2:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue