[IMP] remove pointless extra newline in log message of column removal
authorXavier Morel <xmo@openerp.com>
Fri, 14 Feb 2014 14:52:19 +0000 (15:52 +0100)
committerXavier Morel <xmo@openerp.com>
Fri, 14 Feb 2014 14:52:19 +0000 (15:52 +0100)
bzr revid: xmo@openerp.com-20140214145219-07pk822tpo0nohpn

openerp/osv/orm.py

index 6ac6512..b24fd0c 100644 (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()