Minor edit in logger error message.

bzr revid: jvo@tinyerp.com-20081212062224-qwa5i5jaw4jbn260
This commit is contained in:
Jay Vora
2008-12-12 11:52:24 +05:30
parent 3023ab9d01
commit 36770d1cad
+1 -1
View File
@@ -33,7 +33,7 @@ def _check_xml(self, cr, uid, ids, context={}):
relaxng = etree.RelaxNG(file=frng)
if not relaxng.validate(eview):
logger = netsvc.Logger()
logger.notifyChannel('init', netsvc.LOG_ERROR, 'The view do not fit the required schema !')
logger.notifyChannel('init', netsvc.LOG_ERROR, 'The view does not fit the required schema !')
logger.notifyChannel('init', netsvc.LOG_ERROR, relaxng.error_log.last_error)
return False
return True