diff options
| author | Xavier Morel <xmo@odoo.com> | 2014-12-10 13:49:12 +0100 |
|---|---|---|
| committer | Xavier Morel <xmo@odoo.com> | 2015-01-27 12:35:51 +0100 |
| commit | 23ad48a91be24f49471371021ce94347fd599e71 (patch) | |
| tree | 05740975b9223e8142d607dd04f3eda74a156ebd /addons/analytic_user_function/analytic_user_function_view.xml | |
| parent | ec6fa5d3d97b7110c89790adead4ad49469a3885 (diff) | |
[FIX] config: a list is always equal to itself
add_option(action=append*) always modifies the ``default`` list
in-place. When using DEFAULT_LOG_HANDLER directly, that means
log_handler is always equal to DEFAULT_LOG_HANDLER since they're the
same list object. Thus the --log-handler command-line would never
overwrite the log_handler value from the configuration file, which is
unexpected
Fix that by copying DEFAULT_LOG_HANDLER before passing it as the
option's default value.
Diffstat (limited to 'addons/analytic_user_function/analytic_user_function_view.xml')
0 files changed, 0 insertions, 0 deletions
