diff options
| author | Christophe Simonis <chs@tinyerp.com> | 2009-12-17 09:36:36 +0100 |
|---|---|---|
| committer | Christophe Simonis <chs@tinyerp.com> | 2009-12-17 09:36:36 +0100 |
| commit | abac5229c3cb4529a3f2cb8f1f20f6a289ef7b05 (patch) | |
| tree | a7828c0cea604547aef39037f4d5a67fb1ea46a3 /bin/report/render/html2html/html2html.py | |
| parent | 1c1e8231fd060dda655db978b74f0ed5dedeb9c8 (diff) | |
| parent | 53c984ec74b6be74ae79100bf925f7a497d3831a (diff) | |
[MERGE] lp:~xmo/openobject-server/setup_py_fixes
bzr revid: chs@tinyerp.com-20091217083446-57e8ko62e12eiv2u
bzr revid: chs@tinyerp.com-20091217083636-yoc153jnt4rhsw35
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 '' |
