From 48ff95502dffb6448a9dcffbc6ead3ef77f3e487 Mon Sep 17 00:00:00 2001 From: "nch@tinyerp.com" <> Date: Fri, 30 Oct 2009 18:08:11 +0530 Subject: [PATCH] [REF]:body formating bzr revid: nch@tinyerp.com-20091030123811-tf8eoz7l1b8zjn3n --- bin/report/render/makohtml2html/makohtml2html.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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 ='''