~credativ/openobject-server/trunk-csv-import-domain

« back to all changes in this revision

Viewing changes to openerp/cli/__init__.py

  • Committer: Christophe Simonis
  • Date: 2014-04-22 14:46:51 UTC
  • mfrom: (5189.1.7 saas-4)
  • Revision ID: chs@openerp.com-20140422144651-840zze7p5549k88s
[MERGE] forward port of branch saas-4 up to revid 5196 chs@openerp.com-20140422123533-b6lcm76ydf8vpw9u

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
    # The only shared option is '--addons-path=' needed to discover additional
39
39
    # commands from modules
40
40
    if len(args) > 1 and args[0].startswith('--addons-path=') and not args[1].startswith("-"):
41
 
        tools.config.parse_config([args[0]])
 
41
        # parse only the addons-path, do not setup the logger...
 
42
        tools.config._parse_config([args[0]])
42
43
        args = args[1:]
43
44
 
44
45
    # Default legacy command