diff options
| author | nch@tinyerp.com <> | 2010-01-19 12:17:59 +0530 |
|---|---|---|
| committer | nch@tinyerp.com <> | 2010-01-19 12:17:59 +0530 |
| commit | e0fde7919d3b3b2736d1d4f0d713f3705315ae9c (patch) | |
| tree | 616b208b06aa64352523ecfe64fc972d1b659131 /bin/report/render/html2html/html2html.py | |
| parent | fbe0cd494f95a20ca30a2274f15bf64825e1116f (diff) | |
| parent | 1bf6fe7a485560d277d9692337de131d105f8597 (diff) | |
[MERGE]:from parent
bzr revid: nch@tinyerp.com-20100119064759-k90jvx4s22fdovbz
Diffstat (limited to 'bin/report/render/html2html/html2html.py')
| -rw-r--r-- | bin/report/render/html2html/html2html.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/report/render/html2html/html2html.py b/bin/report/render/html2html/html2html.py index 9acb25b5d28..dfd92a70b52 100644 --- a/bin/report/render/html2html/html2html.py +++ b/bin/report/render/html2html/html2html.py @@ -74,7 +74,7 @@ class html2html(object): return self._node def url_modify(self,root): - for n in root.getchildren(): + for n in root: if (n.text.find('<a ')>=0 or n.text.find('<a')>=0) and n.text.find('href')>=0 and n.text.find('style')<=0 : node = (n.tag=='span' and n.getparent().tag=='u') and n.getparent().getparent() or ((n.tag=='span') and n.getparent()) or n style = node.get('color') and "style='color:%s; text-decoration: none;'"%node.get('color') or '' |
