# HG changeset patch # User souliane # Date 1402339048 -7200 # Node ID 01880aa8ea2d6b7d19c00aa142939004fa405922 # Parent 33ec27ef4b6a432e58590485b96e381e0add6d80 twisted plugin: fixes the parsing of directory parameter diff -r 33ec27ef4b6a -r 01880aa8ea2d src/twisted/plugins/libervia_server.py --- a/src/twisted/plugins/libervia_server.py Sun Jun 08 16:59:48 2014 +0200 +++ b/src/twisted/plugins/libervia_server.py Mon Jun 09 20:37:28 2014 +0200 @@ -32,6 +32,7 @@ from libervia.server.constants import Const as C from sat.core import log_config log_config.satConfigure(C.LOG_BACKEND_TWISTED, C) +from sat.tools.config import getConfig from zope.interface import implements @@ -68,7 +69,7 @@ # index is only used to not modify the loop variable "param" name = param[0] try: - value = config.get('libervia', name) + value = getConfig(config, 'libervia', name) self.optParameters[index][2] = param[4](value) except (NoSectionError, NoOptionError): pass