From a8e7a052aea9306fe4eb63737ec2ec61e6852262 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20=C3=89vrard?= Date: Thu, 5 May 2011 10:54:54 +0200 Subject: [PATCH] Use new update_etc for issue1911 --- proteus/config.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/proteus/config.py b/proteus/config.py index 30593369c8..f78b9a7727 100644 --- a/proteus/config.py +++ b/proteus/config.py @@ -101,10 +101,10 @@ class TrytondConfig(Config): 'Configuration for trytond' def __init__(self, database_name=None, user='admin', database_type=None, - language='en_US', password=''): + language='en_US', password='', config_file=None): super(TrytondConfig, self).__init__() from trytond.config import CONFIG - CONFIG.parse() + CONFIG.update_etc(config_file) if database_type is not None: CONFIG['db_type'] = database_type from trytond.modules import register_classes