[FIX] modules: avoid to have the docutils' warnings rendered inline.
authorVo Minh Thu <vmt@openerp.com>
Thu, 25 Oct 2012 13:01:11 +0000 (15:01 +0200)
committerVo Minh Thu <vmt@openerp.com>
Thu, 25 Oct 2012 13:01:11 +0000 (15:01 +0200)
commit72f59ff45e937fa24895069c0b68c6ad9cfbe228
treea210a566b05738e80d5945dc7d9ee4dc44dd0137
parent9582a8bc825891ff65eb387aa96a2b61201c69ab
[FIX] modules: avoid to have the docutils' warnings rendered inline.

The html rendering of the __openerp__.py description is done using docutils.
This patch removes the warnings that docutils inserts in the resulting document
and log them. Docutils still generates spurious output on stderr though.
(An alternative is to use the `report_level` option but in that case it seems
we can never witness the warnings being created.)

bzr revid: vmt@openerp.com-20121025130111-7l157hexh6ew9w34
openerp/addons/base/module/module.py