[FIX] don't try to set attributes on comments, it makes no sense
bzr revid: tde@openerp.com-20130923143349-y922fxtbkotsjzpf
This commit is contained in:
parent
438c6683d7
commit
e07531f451
|
@ -254,7 +254,8 @@ class view(osv.osv):
|
|||
return None
|
||||
|
||||
def inherit_branding(self, specs_tree, view_id):
|
||||
for node in specs_tree:
|
||||
print map(etree.tostring, specs_tree)
|
||||
for node in specs_tree.iterchildren(tag=etree.Element):
|
||||
xpath = node.getroottree().getpath(node)
|
||||
if node.tag == 'data' or node.tag == 'xpath':
|
||||
self.inherit_branding(node, view_id)
|
||||
|
|
Loading…
Reference in New Issue