[FIX] correct indentation

bzr revid: dmitrijs.ledkovs@credativ.co.uk-20110731134824-t2f3r6uxrw27ah45
This commit is contained in:
Tristan Hill 2011-07-31 14:48:24 +01:00 committed by Dmitrijs Ledkovs
parent 153cd2c6ad
commit 7e036f062e
1 changed files with 10 additions and 10 deletions

View File

@ -883,16 +883,16 @@ form: module.record_id""" % (xml_id,)
for n in de.findall('./data'):
for rec in n:
if rec.tag in self._tags:
try:
self._tags[rec.tag](self.cr, rec, n)
except:
self.__logger.error('Parse error in %s:%d: \n%s',
rec.getroottree().docinfo.URL,
rec.sourceline,
etree.tostring(rec).strip(), exc_info=True)
self.cr.rollback()
raise
if rec.tag in self._tags:
try:
self._tags[rec.tag](self.cr, rec, n)
except:
self.__logger.error('Parse error in %s:%d: \n%s',
rec.getroottree().docinfo.URL,
rec.sourceline,
etree.tostring(rec).strip(), exc_info=True)
self.cr.rollback()
raise
return True
def __init__(self, cr, module, idref, mode, report=None, noupdate=False):