Instrument missing tag exception.
bzr revid: p_christ@hol.gr-20081124151809-ydhawyy1map7wd7y
This commit is contained in:
parent
b1b2347390
commit
7f3ee0107e
|
@ -958,7 +958,7 @@ class orm_template(object):
|
||||||
if attr != 'position'
|
if attr != 'position'
|
||||||
])
|
])
|
||||||
tag = "<%s%s>" % (node2.localName, attrs)
|
tag = "<%s%s>" % (node2.localName, attrs)
|
||||||
raise AttributeError(_("Couldn't find tag '%s' in parent view !") % tag)
|
raise AttributeError(_("Couldn't find tag '%s' in parent view !\n%s") % (tag,src))
|
||||||
return doc_src.toxml(encoding="utf-8").replace('\t', '')
|
return doc_src.toxml(encoding="utf-8").replace('\t', '')
|
||||||
|
|
||||||
result = {'type': view_type, 'model': self._name}
|
result = {'type': view_type, 'model': self._name}
|
||||||
|
|
Loading…
Reference in New Issue