[FIX] cli mode: initialisation of the addons path do not setup the logger (as we only parse the addons path, we ends with the default logging config)
bzr revid: chs@openerp.com-20140422123533-b6lcm76ydf8vpw9u
This commit is contained in:
parent
fafe368331
commit
a2b3b47b38
|
@ -38,7 +38,8 @@ def main():
|
|||
# The only shared option is '--addons-path=' needed to discover additional
|
||||
# commands from modules
|
||||
if len(args) > 1 and args[0].startswith('--addons-path=') and not args[1].startswith("-"):
|
||||
tools.config.parse_config([args[0]])
|
||||
# parse only the addons-path, do not setup the logger...
|
||||
tools.config._parse_config([args[0]])
|
||||
args = args[1:]
|
||||
|
||||
# Default legacy command
|
||||
|
|
Loading…
Reference in New Issue