slightly improve code style bzr revid: abo@openerp.com-20121112142158-5kgxn23ji5ubuura
bzr revid: abo@openerp.com-20121112133033-urh3emybeabfvdxm