What steps will reproduce the problem?
1 - generate a report containing a table, where the td tag, does not include
the width attribute, the error will occur:
"
File ".../html.py", line 239, in handle_starttag
if self.td['width']:
KeyError: 'width'
"
What version of the product are you using? On what operating system?
1.54b - 2010-09-10, Ubuntu 10.10
Please provide any additional information below.
I changed the expression "if self.td['width']:" to " if 'width' in self.td:",
and the error no longer occurs.
What is the expected output? What do you see instead?
Original issue reported on code.google.com by lucassdvl@gmail.com on 28 Nov 2010 at 3:12
Original issue reported on code.google.com by
lucassdvl@gmail.com
on 28 Nov 2010 at 3:12