Fix error message for relaxng validation
This commit is contained in:
1 parent
7405dcf2f3
commit
0be5dbcb7b
1 file changed
+1
-1
@@ -68,7 +68,7 @@ class View(OSV):
|
||||
error_log = reduce(lambda x, y: str(x) + '\n' + str(y),
|
||||
validator.error_log.filter_from_errors())
|
||||
logger.notify_channel('ir', LOG_ERROR,
|
||||
'Invalid xml view:\n%s' % (error_log + '\n' + xml))
|
||||
'Invalid xml view:\n%s' % (str(error_log) + '\n' + xml))
|
||||
return False
|
||||
root_element = tree.getroottree().getroot()
|
||||
strings = self._translate_view(root_element)
|
||||
|
||||
Reference in new issue
Block a user