summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornch@tinyerp.com <>2009-10-30 18:08:11 +0530
committernch@tinyerp.com <>2009-10-30 18:08:11 +0530
commit48ff95502dffb6448a9dcffbc6ead3ef77f3e487 (patch)
tree9e1d8e274ecd446619935dd4bbd04765a907226e
parent36400b1e2071517abe087d284a4b0260c6a70d24 (diff)
[REF]:body formating
bzr revid: nch@tinyerp.com-20091030123811-tf8eoz7l1b8zjn3n
-rw-r--r--bin/report/render/makohtml2html/makohtml2html.py4
1 files changed, 1 insertions, 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 ='''
<script type="text/javascript">