Message37

Author

lele

Recipients

Date

2017-08-09.13:08:22

Message-id

<1502276902.45.0.524989945999.bug33@tryton.org>

In-reply-to

Currently relatorio tries to import four "plugins", and on
ImportError it emits a warning.
I never used the chart plugin, so I end up filtering out
that warning in almost every app that uses relatorio.
With the rationale that a user should know what she needs, I
think it should be better one of the following options:
a) remove the warning
b) replace the warnings.warn() with a logging.warn() (or
.debug() even)
c) separate the "needed" plugins from extension ones, do a
plain import on the former, and let the user explicitly
import additional ones as she need
I would go with c), if it were just for me... :)