diff options
| author | nch@tinyerp.com <> | 2009-10-30 18:08:11 +0530 |
|---|---|---|
| committer | nch@tinyerp.com <> | 2009-10-30 18:08:11 +0530 |
| commit | 48ff95502dffb6448a9dcffbc6ead3ef77f3e487 (patch) | |
| tree | 9e1d8e274ecd446619935dd4bbd04765a907226e /bin/report/render/makohtml2html/makohtml2html.py | |
| parent | 36400b1e2071517abe087d284a4b0260c6a70d24 (diff) | |
[REF]:body formating
bzr revid: nch@tinyerp.com-20091030123811-tf8eoz7l1b8zjn3n
Diffstat (limited to 'bin/report/render/makohtml2html/makohtml2html.py')
| -rw-r--r-- | bin/report/render/makohtml2html/makohtml2html.py | 4 |
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"> |
