diff --git a/bin/report/render/makohtml2html/makohtml2html.py b/bin/report/render/makohtml2html/makohtml2html.py index dfa0fa8e16a..f672674f20e 100644 --- a/bin/report/render/makohtml2html/makohtml2html.py +++ b/bin/report/render/makohtml2html/makohtml2html.py @@ -48,9 +48,7 @@ class makohtml2html(object): body_list = [] footer = self.format_footer(body[-1].getchildren()) for b in body[:-1]: - body_table = '' - body_table += etree.tostring(b) - body_list.append(body_table.replace('\t', '').replace('\n','')) + body_list.append(etree.tostring(b).replace('\t', '').replace('\n','')) html_body ='''