Refer to previous log, but also verify that records are returning

proper information prior to getting passed into the ColumnCollector.
It seems like some things are getting stripped out due to blank lines
or perhaps the annoying "Record Layout" pages. If we could extract the
"record layout" sections, things may be simpler"
This commit is contained in:
Binh 2012-11-27 16:01:00 -06:00
parent 31ff97db8a
commit e9a6dc981f

View file

@ -137,6 +137,9 @@ class ColumnCollector(object):
self.empty_rows = 0
pass
def __repr__(self):
return "<%s: %s>" % (self.__class__.__name__, map(lambda x:x if len(x) < 25 else x[:25] + '..', self.data.values()))
def add(self, data):
if self.empty_rows > 2:
raise IsNextField()