~openerp-dev/openobject-server/vmt-server-module

« back to all changes in this revision

Viewing changes to bin/openerp-server.py

  • Committer: Vo Minh Thu
  • Date: 2011-01-26 15:17:17 UTC
  • Revision ID: vmt@openerp.com-20110126151717-tf0q2mx2inj21jls
[IMP] parse_config is called in openerp-server.py, the direct cycle in convert.py is removed

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
# import the tools module so that the commandline parameters are parsed
63
63
#-----------------------------------------------------------------------
64
64
import tools
 
65
tools.config.parse_config()
65
66
logger.info("OpenERP version - %s", release.version)
66
67
for name, value in [('addons_path', tools.config['addons_path']),
67
68
                    ('database hostname', tools.config['db_host'] or 'localhost'),