[IMP] remove pointless extra newline in log message of column removal

bzr revid: xmo@openerp.com-20140214145219-07pk822tpo0nohpn
This commit is contained in:
Xavier Morel 2014-02-14 15:52:19 +01:00
parent 4d32dabdd6
commit d21114454e
1 changed files with 1 additions and 1 deletions

View File

@ -2694,7 +2694,7 @@ class BaseModel(object):
f_pg_notnull = res['attnotnull']
if isinstance(f, fields.function) and not f.store and\
not getattr(f, 'nodrop', False):
_logger.info('column %s (%s) in table %s removed: converted to a function !\n',
_logger.info('column %s (%s) converted to a function, removed from table %s',
k, f.string, self._table)
cr.execute('ALTER TABLE "%s" DROP COLUMN "%s" CASCADE' % (self._table, k))
cr.commit()